Skip to content
Snippets Groups Projects
Commit cfa28c4a authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Add a check in case the authentication authority specified in...

Add a check in case the authentication authority specified in SimpleSAML_Auth_Default::initLogin() is not valid.
parent 2d9fdf71
No related branches found
No related tags found
No related merge requests found
......@@ -15,14 +15,16 @@ class SimpleSAML_Auth_Default {
/**
* @deprecated This method will be removed in SSP 2.0.
* @deprecated This method will be removed in SSP 2.0. Use SimpleSAML_Auth_Source::initLogin() instead.
*/
public static function initLogin($authId, $return, $errorURL = NULL,
array $params = array()) {
$as = SimpleSAML_Auth_Source::getById($authId);
if ($as !== null) {
$as->initLogin($return, $errorURL, $params);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment