Project

General

Profile

Actions

Feature proposal #7343

closed

Implement trigger for random password function

Added by krileon about 6 years ago. Updated about 6 years 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

Actions #1

Updated by krileon about 6 years ago

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

Implemented in MR !1421

Actions #2

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.

Actions #3

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)
Actions #4

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

Actions #5

Updated by krileon about 6 years ago

Simplified trigger to following.

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

Actions #6

Updated by beat about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF