- improved _auto-connections_ for _podded_ pilots, closed #752, closed #355, closed #259, closed #235

This commit is contained in:
Mark Friedrich
2019-04-19 16:31:36 +02:00
parent 51b3fd41f0
commit e0fb6f19f5
8 changed files with 145 additions and 87 deletions

View File

@@ -69,7 +69,7 @@ class Sso extends Api\User{
isset($params['characterId']) &&
( $activeCharacter = $this->getCharacter() )
){
// authentication restricted to a characterId -----------------------------------------------
// authentication restricted to a characterId -------------------------------------------------------------
// restrict login to this characterId e.g. for character switch on map page
$characterId = (int)trim((string)$params['characterId']);
@@ -114,7 +114,7 @@ class Sso extends Api\User{
$f3->set(self::SESSION_KEY_SSO_FROM, 'map');
}
// redirect to CCP SSO ----------------------------------------------------------------------
// redirect to CCP SSO ----------------------------------------------------------------------------------------
$scopes = self::getScopesByAuthType();
$this->rerouteAuthorization($f3, $scopes);
}