Project

General

Profile

Actions

Bug #4043

closed

flash message problem on login/restiration pages

Added by Marcin Kuzminski [CTO] over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
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

Also available in: Atom PDF