Cleanup & make other modules use the right username right after creation
kkaefer - August 15, 2008 - 20:20
| Project: | Webserver authentication |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
I noticed that the paths generated by pathauto still use the wrong username, even though pathauto’s hook_user comes after webserverauth’s hook_user because pathauto’s weight is bigger. However, webserverauth only changes the values in $account whereas pathauto uses the values from $edit to create aliases. This patch copies the new values over to $edit so that they are available to other modules in the same hook run as well.
It also removes some trailing whitespace
| Attachment | Size |
|---|---|
| webserver_auth.cleanup.patch | 1.75 KB |
