hhroc / yellr-server

Server for yellr project
GNU Affero General Public License v3.0
6 stars 5 forks source link

changed how login works. There is now a specific page for logging in. #302

Closed thequbit closed 8 years ago

thequbit commented 8 years ago

Changes the way that logins work. There is now a login page at /login. This makes things easier when needing to redirect pages within ajax calls within angular.

thequbit commented 8 years ago

Still some things to do here. The moderator site still flashes before redirect. I think we can fix that pretty simply though with a quick ajax call to [GET] /api/login to see if we are actually logged in or not.

I need to merge this so I can submit additional PRs this evening. I'll open tickets like a mad man before the end of the night to track all of the things that are left.