Actions
Bug #4043
closedflash message problem on login/restiration pages
Start date:
24.06.2016
Due date:
% Done:
0%
Estimated time:
Sorting:
Commit Number:
Affected Version:
Description
During the testing of issues with social auth i relizied that flash messages with errors are somehow not working.
Steps to reproduce.
- turn of anonnymous access
- misconfigure the social auth (enable google/github, put wrong tokens)
- go to register/login page, and click a gh/google button
see that page reloads and nothing happens. There's a call to
def _handle_social_auth_error(self, result):
Which does log.error, and does session.flash with an error message.
When you disable anonymous access redirect is to the home page where the flash message is shown, so the problem is in the way that we generate register/login pages.
Actions