mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser() replace twig app['authentication'].getUser() with corresponding method
This commit is contained in:
@@ -177,7 +177,7 @@ class SetupController extends Controller
|
||||
|
||||
$user = $installer->install($email, $password, $abConn, $servername, $dataPath, $dbConn, $template, $binaryData);
|
||||
|
||||
$this->app['authentication']->openAccount($user);
|
||||
$this->app->getAuthenticator()->openAccount($user);
|
||||
|
||||
return $this->app->redirectPath('admin', [
|
||||
'section' => 'taskmanager',
|
||||
|
Reference in New Issue
Block a user