Join GitHub today
Add a way to configurate login_url and logout_url #6
Hola! Thanks for the app, it's really cool, simple and time-saving.
I had a need to change some in-app variables (login_url, logout_url and home_url) and found it difficult because a method like this
isn't working (views for login and logout are already registered at
It would be great to have an ability to set this urls by writing something like this
I could try to send a pull request, but not sure what method (or both) is better.
and the same for
However now I see that we have inconsistency using
The fix is simply changing the https://github.com/rochacbruno/flask_simplelogin/blob/master/flask_simplelogin/__init__.py#L204 to use
I am afraid it is going to break compatibility, but we can release a Major version.