librelist archives

« back to archive

Flask-Login remember_me and Flask-Principal identity_loaded

Flask-Login remember_me and Flask-Principal identity_loaded

From:
Bouni
Date:
2014-06-30 @ 15:09
Hi,

I've a problem with Flask-Login and Flask Principal. When I log in the 
Roles getting loaded as expected, but if i close the browser and the 
remember me function do the login the roles don't get loaded. I think my 
problem has been discussed in this Flask-Login issue [0] on GitHub, but 
it got closed and I'm not sure if the Problem is already solved and i do 
a mistake or is still open?
I think that Flask-Login doesn't send the "user_logged_in" signal as it 
would do when i do a normal login.

Can anybody tell me a way to solve my problem?


regards

Elias

[0] https://github.com/maxcountryman/flask-login/issues/19