#138 enables character switching between characters which have same user

This commit is contained in:
Exodus4D
2016-05-03 20:20:54 +02:00
parent 8900276cf5
commit eb1e365020
3 changed files with 127 additions and 78 deletions

View File

@@ -188,7 +188,7 @@ class Controller {
$token = hash('sha256', $validator);
// get unique cookie name for this character
$name = md5($character->name);
$name = $character->getCookieName();
$authData = [
'characterId' => $character,