Posted by Skyr on March 12, 2009 at 10:36am
| Project: | Webserver authentication |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
This patch allows the admin to run external commands when a user is created/updated and when he is deleted.
Works great with .htaccess using the following commands:
/usr/bin/htpasswd -b /path/to/htpasswd "%user" "%pass"
/usr/bin/htpasswd -D /path/to/htpasswd "%user"
| Attachment | Size |
|---|---|
| webserver_auth-externalcmds.diff | 2.23 KB |
Comments
#1
Just noticed: Works well on existing users... but is not called when the admin creates a new user manually.
Some spontaneous idea, anyone?
Still, I think the patch is a good idea and is worth working on it.
#2
Sometimes, life can be easy :-)
An updated patch, properly handling the creation of new accounts - and some error handling for the exec statements.