Wednesday, June 22, 2011

user_external_login Perform standard Drupal login operations for a user object.

D6 user_external_login($account, $edit = array())

Perform standard Drupal login operations for a user object.

The user object must already be authenticated. This function verifies that the user account is not blocked/denied and then performs the login, updates the login timestamp in the database, invokes hook_user('login'), and regenerates the session.

No comments:

Post a Comment