bookieio / Bookie

Python based delicious.com replacement
GNU Affero General Public License v3.0
633 stars 139 forks source link

fixed login-redirect issue for authenticated user #545

Closed AnishShah closed 9 years ago

AnishShah commented 9 years ago

After a user is successfully logged in, and the user hits "https://bookie.io/login", then the user is not redirected to its recent page. This pull request fixes this issue.

mitechie commented 9 years ago

Thanks for this. I'd like to push on a little more awesomeness for this to land if that's ok.

AnishShah commented 9 years ago

@mitechie I have made the changes. If you want a separate test case for invalid user (which test_login_url already does) , then I'll do it.

mitechie commented 9 years ago

Thanks for the update!