Closed amusselm closed 9 years ago
Okay, I've got this partway implemented. I've added a login form template and set it to use the django.auth default view method. I've got to modify the login template so that "next page" attribute is set to someplace sane, like the user's profile page.
I've got logout working, sortof. I need to figure out how to get it to use the custom template and to redirect to the right place.
Longer term, we might consider the allauth plugin, so that we can allow users to register login with their Facebook, Google, Reddit... etc. accounts. See here for an example of that. That said, I doubt I'll have that working for the beta run.
Alright, somehow the login next page started working properly while I wasn't looking at it. And I added a redirect to direct the newly logged in user to their profile page.
Logout behavior is still broken. I haven't decided to rather or not to push as is and fix it later or not.
Turns out the fix is really easy. It's all described in [this bit of Django] documentation. Standby for commit.
Users must be able to log in.
I've already implemented the link to the login page, and something that would display whatever account that the user is logged into.