login with mobile number
This commit is contained in:
parent
8599d15a93
commit
474ec05a53
|
@ -8,7 +8,7 @@ security:
|
||||||
app_user_provider:
|
app_user_provider:
|
||||||
entity:
|
entity:
|
||||||
class: App\Entity\User
|
class: App\Entity\User
|
||||||
property: email
|
property: mobile
|
||||||
firewalls:
|
firewalls:
|
||||||
dev:
|
dev:
|
||||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||||
|
@ -20,7 +20,7 @@ security:
|
||||||
json_login:
|
json_login:
|
||||||
# api_login is a route we will create below
|
# api_login is a route we will create below
|
||||||
check_path: api_login
|
check_path: api_login
|
||||||
username_path: email
|
username_path: mobile
|
||||||
password_path: password
|
password_path: password
|
||||||
|
|
||||||
custom_authenticators:
|
custom_authenticators:
|
||||||
|
|
Loading…
Reference in a new issue