Skip to content

Commit bd9ff10

Browse files
committed
Use csrf_token_generator instead of deprecated csrf_provider
1 parent be15427 commit bd9ff10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/config/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ security:
3131
login_path: security_login_form
3232
# Secure the login form against CSRF
3333
# Reference: http://symfony.com/doc/current/cookbook/security/csrf_in_login_form.html
34-
csrf_provider: security.csrf.token_manager
34+
csrf_token_generator: security.csrf.token_manager
3535

3636
logout:
3737
# The route name the user can go to in order to logout

0 commit comments

Comments
 (0)