login with mobile number

This commit is contained in:
Hesabix 2025-02-04 08:51:49 +00:00
parent 8599d15a93
commit 474ec05a53

View file

@ -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: