goodybag / allanon

The Goodybag Website
goodybag.com
3 stars 0 forks source link

Redirect users on logout if they're on a password-protected page #155

Open jrf0110 opened 11 years ago

ProCynic commented 11 years ago

might also centralize some of the isLoggedIn checks.

prestonp commented 11 years ago

Sites like github.com and stackoverflow.com redirect all logouts to homepage, would that suffice?

jrf0110 commented 11 years ago

Probably would be easiest

ProCynic commented 11 years ago

first we've got make the information about whether a login is needed to view a page a property of the page. Right now we just manually put login gates on all the transitions to the page.