Skip to content

Commit ab02be9

Browse files
committed
Use json_login for login firewall configuration
1 parent b646112 commit ab02be9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/jwt.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ security:
3535
stateless: true
3636
anonymous: true
3737
provider: fos_userbundle
38-
form_login:
38+
json_login:
3939
check_path: /login_check
40-
username_parameter: email
41-
password_parameter: password
40+
username_path: email
41+
password_path: password
4242
success_handler: lexik_jwt_authentication.handler.authentication_success
4343
failure_handler: lexik_jwt_authentication.handler.authentication_failure
44-
require_previous_session: false
4544

4645
main:
4746
pattern: ^/

0 commit comments

Comments
 (0)