% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::Password_Mixin - Object methods for accounts that have passwords governed by the password policy.
Checks the password against the system password policy. Returns an error message on failure, an empty string on success.
This MUST NOT be called from check(). It should be called by the office UI, self-service ClientAPI, or other user-interactive code that processes a password change, and only if the user has taken some action with the intent of setting the password.
Override to run additional service-specific password checks.
Returns the name of the field in FS::password_history that's the foreign key to this table.
Creates a FS::password_history record linked to this object, with its current password.
Removes all password history records attached to this object, in preparation to delete the object.
For internal use: takes PASSWORD and returns a new Authen::Passphrase::BlowfishCrypt object representing it.
Returns the list of characters allowed in random passwords (from the password-generated-characters config).