briantruong777 / SpotPost

Post SpotPosts at cool spots.
MIT License
1 stars 0 forks source link

Not rerouted to login page #4

Closed nate-norgaard closed 9 years ago

nate-norgaard commented 9 years ago

On "http://spotpost.me" we should get rerouted to login.html, where they must log in before they can reach index.html

wlodarczykj commented 9 years ago

It's because I automatically logged everyone in as admin once the server starts for testing purposes. Fixed it on my end but I need a minute xD.

wlodarczykj commented 9 years ago

Done, updated to server. It most likely will send you automatically to the index because of cookies. If so in chrome go to spotpost.me/_logout. It'll log you out and reroute you to index. Which SHOULD route you to login.

Also can you add a logout button on the index for now just so its easier to test. Just make it go to spotpost.me/_logout. A simple href should be enough.

BTW, still no error's available yet. Prolly wont get that done today, so expect it by this weekend.

edit: Oh just noticed, itll log you in but not reroute you. Not sure why?