Fix auth redirect

This commit is contained in:
2015-04-06 19:10:56 +02:00
parent 64556ecf47
commit d393d09715
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def sign_in_out(request):
request.session.flash(('error',u'Vous avez entré un mauvais couple identifiant/password !'))
return HTTPFound(location="/sign/login",
headers=headers)
return HTTPFound(location=request.route_url('home'),
return HTTPFound(location=request.route_url('home', year=''),
headers=headers)