feat(auth): integrate Captcha validation in PasswordAuthenticator

- Added CaptchaGuard dependency to PasswordAuthenticator.
- Implemented Captcha validation in the authenticate method to enhance security.
- Updated the login modal in home.html.twig to redirect to the admin panel instead of opening a modal.
- Enhanced the Altcha widget with localized strings for better user experience.
- Removed the login modal implementation from home.html.twig to streamline the login process.
- Updated manifest.json and AST cache files to reflect changes in the codebase.
This commit is contained in:
hamed
2026-07-10 11:05:59 +03:30
parent aded526718
commit 8b6d431f61
12 changed files with 733 additions and 736 deletions
+8 -8
View File
@@ -260,8 +260,8 @@
"semantic_hash": ""
},
"assets/admin/pages/LoginPage.tsx": {
"mtime": 1783667366.139762,
"ast_hash": "d518496ce1aa2a3d3c1509106ff36e77",
"mtime": 1783668734.8468878,
"ast_hash": "7f97461eb12e31df27e16fcc46efda9b",
"semantic_hash": ""
},
"assets/admin/pages/MyClinicPage.tsx": {
@@ -955,8 +955,8 @@
"semantic_hash": ""
},
"src/Auth/Security/PasswordAuthenticator.php": {
"mtime": 1781946748.8785093,
"ast_hash": "2fbb197825e081dad86bebd660ef9abd",
"mtime": 1783668692.4381845,
"ast_hash": "e4107ad152265492e7427334d4534b10",
"semantic_hash": ""
},
"src/Auth/Service/OtpService.php": {
@@ -3805,8 +3805,8 @@
"semantic_hash": ""
},
"assets/admin/components/ui/Altcha.tsx": {
"mtime": 1783666097.1123717,
"ast_hash": "76bfa4d9d7c539585eb8b3836c81f3cb",
"mtime": 1783668418.3771482,
"ast_hash": "121352e982ca664204d71d9f779984f0",
"semantic_hash": ""
},
"src/Shared/Captcha/AltchaService.php": {
@@ -3840,8 +3840,8 @@
"semantic_hash": ""
},
"docs/api/captcha.md": {
"mtime": 1783666775.6831665,
"ast_hash": "4796a4acacfaba72c1e4b741b234c96f",
"mtime": 1783668751.744952,
"ast_hash": "977820fe357db7b73b2dc2de861eaae9",
"semantic_hash": ""
}
}