You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Controller/SecurityController.php
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,16 @@ public function loginAction(Request $request)
81
81
));
82
82
}
83
83
84
+
publicfunctioncheckAction()
85
+
{
86
+
thrownew \RuntimeException('You must configure the check path to be handled by the firewall using form_login in your security firewall configuration.');
87
+
}
88
+
89
+
publicfunctionlogoutAction()
90
+
{
91
+
thrownew \RuntimeException('You must activate the logout in your security firewall configuration.');
92
+
}
93
+
84
94
/**
85
95
* Renders the login template with the given parameters. Overwrite this function in
86
96
* an extended controller to provide additional data for the login template.
@@ -93,14 +103,4 @@ protected function renderLogin(array $data)
thrownew \RuntimeException('You must configure the check path to be handled by the firewall using form_login in your security firewall configuration.');
100
-
}
101
-
102
-
publicfunctionlogoutAction()
103
-
{
104
-
thrownew \RuntimeException('You must activate the logout in your security firewall configuration.');
0 commit comments