Before login hook?

Discussion in 'Customization & add-ons' started by edusites, Jul 16, 2015.

  1. edusites

    edusites Member

    Joined:
    Aug 9, 2009
    Messages:
    54
    I need to fire an event before the default login event, is AUTH_CHECK_LOGGED_IN the correct event hook?

    How do I access the entered username and password?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This depends on what you need to do.
    AUTH_CHECK_LOGGED_IN hook is for situations when user is already logged in thrid-party script and you want to use the same session in order to login user into amember. There is no login/password passed into that hook.

Share This Page