function oa_core_user_login in Open Atrium Core 7.2
Implements hook_user_login
File
- includes/
oa_core.login.inc, line 52 - Code for controlling redirection of login Some of this code comes from the login_destination module
Code
function oa_core_user_login(&$edit, $account) {
if (!isset($_POST['form_id']) || $_POST['form_id'] != 'user_pass_reset') {
oa_core_login_perform_redirect('login');
}
}