CottageLabs/cl

login method should be ajaxified

Opened this issue · 2 comments

instead of bouncing to the login page, the login nav button should present a username and password input that are sent via ajax to achieve login, and the current page should be refreshed instead of redirecting to the front page of the site

alternatively may make the login page look more interesting, a la heroku

rather than ajaxifying, a "wherenext" method has been added to portality - this CL repo does not fork portality yet, but either it should or else we just pull that code from the account controller of portality. Then after people login they get pushed to whichever page they were trying to hit anyway.