ExpressionEngine

2.5.0 User Guide

Login Controller Extension Hooks

login_authenticate_start

Perform additional actions prior to / take over the control panel login routine.

$edata = $this->extensions->call('login_authenticate_start'); if ($this->extensions->end_script === TRUE) return;
returns:void

Added in v1.4.2

cp_member_login

Executes after control panel session is instantiated, allows additional processing on control panel logins.

$edata = $this->extensions->call('cp_member_login', $query->row()); if ($this->extensions->end_script === TRUE) return;

$query->row()

Array of member data

returns:void

Added in v1.4.0

cp_member_logout

Perform additional actions after a user logs out of the control panel

$edata = $this->extensions->call('cp_member_logout'); if ($this->extensions->end_script === TRUE) return;
returns:void

Added in v1.6.1

User Contributed Notes

You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide