Skip to content

Commit 0b753ab

Browse files
committed
By default redirect to post index page after login
1 parent 63681da commit 0b753ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/config/security.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ security:
3232
# Secure the login form against CSRF
3333
# Reference: http://symfony.com/doc/current/cookbook/security/csrf_in_login_form.html
3434
csrf_token_generator: security.csrf.token_manager
35+
# Redirect to post index page after login (by default)
36+
default_target_path: blog_index
3537

3638
logout:
3739
# The route name the user can go to in order to logout

0 commit comments

Comments
 (0)