Hooks reference: check_password
Additional checks for password validation.
Warning: For security reasons, plugins should never keep password value (even in static or instance attributes)
Args details
- $sPassword (String) : Password to be checked
Exceptions
- AnwPluginInterruptionException : Throw this exception when the password is incorrect
Example
- function hook_check_password($sPassword) {
- //your code here...
- if (/* special case *//*) throw new AnwPluginInterruptionException(); }
- en
Last edited on 04/05/2009 14:25:35