Hooks reference: check_login

Additional checks for login validation.

Args details

  • $sLogin (String) : Login to be checked

Exceptions

  • AnwPluginInterruptionException : Throw this exception when the login is incorrect

Example

  1. function hook_check_login($sLogin)
  2. {
  3. //your code here...
  4. if (/* special case *//*) throw new AnwPluginInterruptionException();
  5. }
  • en
Last edited on 04/05/2009 14:25:18
Powered by Anwiki • 0.04 sec • 2.03 MB