mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-01 08:00:47 +08:00
Fix Two Factor not working on auth
This commit is contained in:
parent
0911a1a7ee
commit
ca8ab7ca50
2 changed files with 18 additions and 0 deletions
|
@ -307,6 +307,12 @@ class SecurityController extends AbstractController
|
|||
return $this->sessionStatus($security);
|
||||
}
|
||||
|
||||
#[Route('/auth/2fa_check', name: 'native_auth_2fa_check', methods: ["GET", "POST"])]
|
||||
public function nativeCheckTwoFactorCode(Request $request): Response
|
||||
{
|
||||
return $this->redirectToRoute('app_2fa_check', $request->query->all());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param UserInterface $user
|
||||
* @param array $appStatus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue