- fixed some "potential" login issues, #718

- improved error logging in case of failed login attempts
- improved ESI "access token" handling
This commit is contained in:
Mark Friedrich
2018-12-22 11:43:46 +01:00
parent 668ec379e6
commit 50f630f7c2
10 changed files with 237 additions and 181 deletions

View File

@@ -209,6 +209,9 @@ class Map extends Controller\AccessController {
$validInitData = $validInitData ? !empty($structureData) : $validInitData;
// get available wormhole types ---------------------------------------------------------------------------
/**
* @var $wormhole Model\Universe\WormholeModel
*/
$wormhole = Model\Universe\BasicUniverseModel::getNew('WormholeModel');
$wormholesData = [];
if($rows = $wormhole->find(null, ['order' => 'name asc'])){
@@ -424,7 +427,7 @@ class Map extends Controller\AccessController {
$return->error = [];
if( isset($formData['id']) ){
$activeCharacter = $this->getCharacter(0);
$activeCharacter = $this->getCharacter();
/**
* @var $map Model\MapModel
@@ -870,7 +873,7 @@ class Map extends Controller\AccessController {
$getMapUserData = (bool)$postData['getMapUserData'];
$mapTracking = (bool)$postData['mapTracking'];
$systemData = (array)$postData['systemData'];
$activeCharacter = $this->getCharacter(0);
$activeCharacter = $this->getCharacter();
$return = (object)[];