From 474ec05a53814de3a2ed28732e3bc2221d52a380 Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Tue, 4 Feb 2025 08:51:49 +0000 Subject: [PATCH] login with mobile number --- hesabixCore/config/packages/security.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hesabixCore/config/packages/security.yaml b/hesabixCore/config/packages/security.yaml index 57957f0..f48094a 100644 --- a/hesabixCore/config/packages/security.yaml +++ b/hesabixCore/config/packages/security.yaml @@ -8,7 +8,7 @@ security: app_user_provider: entity: class: App\Entity\User - property: email + property: mobile firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ @@ -20,7 +20,7 @@ security: json_login: # api_login is a route we will create below check_path: api_login - username_path: email + username_path: mobile password_path: password custom_authenticators: