mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Add TokensServiceProvider
This commit is contained in:
@@ -38,7 +38,7 @@ class Session_Authentication_Token implements Session_Authentication_Interface
|
||||
$this->token = $token;
|
||||
|
||||
try {
|
||||
$datas = random::helloToken($app, $token);
|
||||
$datas = $app['tokens']->helloToken($token);
|
||||
$usr_id = $datas['usr_id'];
|
||||
$this->user = User_Adapter::getInstance($usr_id, $this->app);
|
||||
} catch (Exception_NotFound $e) {
|
||||
|
Reference in New Issue
Block a user