File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2525 {{ render(controller(' App\\Controller\\BlogController:commentForm' , {' id' : post .id })) }}
2626 {% else %}
2727 <p >
28- <a class =" btn btn-success" href =" {{ path(' security_login' , {' next ' : app .request .pathInfo }) }}" >
28+ <a class =" btn btn-success" href =" {{ path(' security_login' , {' redirect_to ' : app .request .pathInfo }) }}" >
2929 <i class =" fa fa-sign-in" aria-hidden =" true" ></i > {{ ' action.sign_in' | trans }}
3030 </a >
3131 {{ ' post.to_publish_a_comment' | trans }}
Original file line number Diff line number Diff line change 2828 <label for =" password" >{{ ' label.password' | trans }}</label >
2929 <input type =" password" id =" password" name =" _password" class =" form-control" />
3030 </div >
31- <input type =" hidden" name =" _target_path" value =" {{ app .request .get (' next ' ) }}" />
31+ <input type =" hidden" name =" _target_path" value =" {{ app .request .get (' redirect_to ' ) }}" />
3232 <input type =" hidden" name =" _csrf_token" value =" {{ csrf_token(' authenticate' ) }}" />
3333 <button type =" submit" class =" btn btn-primary" >
3434 <i class =" fa fa-sign-in" aria-hidden =" true" ></i > {{ ' action.sign_in' | trans }}
You can’t perform that action at this time.
0 commit comments