[Web] add log messages to verify-sso function
This commit is contained in:
parent
9039ab4e12
commit
2f1e1438e9
@ -2378,8 +2378,8 @@ function identity_provider($_action, $_data = null, $_extra = null) {
|
|||||||
clear_session();
|
clear_session();
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
|
'log' => array(__FUNCTION__, $info['email']),
|
||||||
'msg' => 'login_failed'
|
'msg' => array('login_failed', 'empty attribute mapping or missing template attribute')
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -2390,8 +2390,8 @@ function identity_provider($_action, $_data = null, $_extra = null) {
|
|||||||
clear_session();
|
clear_session();
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
|
'log' => array(__FUNCTION__, $info['email']),
|
||||||
'msg' => 'login_failed'
|
'msg' => array('login_failed', 'specified template not found')
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -2407,8 +2407,8 @@ function identity_provider($_action, $_data = null, $_extra = null) {
|
|||||||
clear_session();
|
clear_session();
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'log' => array(__FUNCTION__, $_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role']),
|
'log' => array(__FUNCTION__, $info['email']),
|
||||||
'msg' => 'login_failed'
|
'msg' => array('login_failed', 'mailbox creation failed')
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user