Add missing CSRF check in TwoFactorController::deactivate()
This commit is contained in:
@@ -119,6 +119,7 @@ class TwoFactorController extends UserViewController
|
||||
*/
|
||||
public function deactivate()
|
||||
{
|
||||
$this->checkCSRFForm();
|
||||
$user = $this->getUser();
|
||||
$this->checkCurrentUser($user);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user