Project

General

Profile

Feature proposal #7343

Implement trigger for random password function

Added by krileon 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08 November 2018
Due date:
% Done:

100%

Estimated time:

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).

https://www.joomlapolis.com/forum/255-developer-members-support/239506-alter-the-generated-password?start=18

History

#1 Updated by krileon 6 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Implemented in MR !1421

#2 Updated by krileon 6 months 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.

#3 Updated by krileon 6 months ago

  • Subject changed from Implement parameter for controlling generated password length to Implement trigger for random password function
  • Description updated (diff)

#4 Updated by krileon 6 months 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 ) )

#5 Updated by krileon 6 months ago

Simplified trigger to following.

$_PLUGINS->trigger( 'onUserRandomPassword', array( $this, &$length ) )

#6 Updated by beat 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF