Actions
Feature proposal #7343
closedImplement trigger for random password function
Description
Currently generated passwords are forced to a length of 12 characters. This should allow admins to override the behavior externally with custom password generation (e.g. CB Auto Actions).
Updated by krileon about 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented in MR !1421
Updated by krileon about 6 years ago
- Status changed from Resolved to Assigned
- % Done changed from 100 to 0
Instead of a new parameter for this a new trigger will be added specifically to random password generation function. This will allow overriding it with custom behavior or for example shorter password.
Updated by krileon about 6 years ago
- Subject changed from Implement parameter for controlling generated password length to Implement trigger for random password function
- Description updated (diff)
Updated by krileon about 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented in MR !1423
Proposal for following new triggers:
$_PLUGINS->trigger( 'onBeforeRandomPassword', array( $this, &$length ) )
$_PLUGINS->trigger( 'onAfterRandomPassword', array( $this, $length, &$password ) )
Updated by krileon about 6 years ago
Simplified trigger to following.
$_PLUGINS->trigger( 'onUserRandomPassword', array( $this, &$length ) )
Actions