mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
PHRAS-343 Disabled record type when choosing story search mode
This commit is contained in:

committed by
Benoît Burnichon

parent
0007bf58be
commit
9b6e20c6c5
@@ -45,7 +45,7 @@ class RootController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function getClientAction(Request $request)
|
public function getClientAction(Request $request)
|
||||||
{
|
{
|
||||||
$this->getSession()->getFlashBag()->add('client_deprecated');
|
$this->getSession()->getFlashBag()->add('client_deprecated', '');
|
||||||
|
|
||||||
if (!$this->getAuthenticator()->isAuthenticated() && null !== $request->query->get('nolog')) {
|
if (!$this->getAuthenticator()->isAuthenticated() && null !== $request->query->get('nolog')) {
|
||||||
return $this->app->redirectPath('login_authenticate_as_guest', ['redirect' => 'client']);
|
return $this->app->redirectPath('login_authenticate_as_guest', ['redirect' => 'client']);
|
||||||
|
Reference in New Issue
Block a user