Closed JakobStruye closed 10 years ago
iirc, Tom has done some work on that?
Also: I've changed the code so that when a user logs out, he gets redirected to the home page. No more crashes or staying on member only pages when logging out. (Which feels like the right thing to do, if you ask me.)
Ah yes, Tom and I worked on this together. Someone just needs to check if we didn't forget any pages.
Also: mm'kay, very well
Added a bunch more, should be ready now.
Only one I'm not sure about is the overview of all users. Should a non-logged in user be able to see a list of all users?
Not sure, are non logged in users allowed to vies user profiles? Does the assignment say anything about this?
Assignment doesn't mention it. Currently non-logged in users are not allowed to view profiles, though this could change if we decide to keep the userlist accessible to non-logged ins.
Made the profiles and list visible to non-logged in. Also made the userlist button visible to non-logged in. All of this should be taken care of now.
For example user/bets gives empty page for non-logged in users. We should probably have a "logged in users only" page to link to in case a non-logged in user tries to access one of these pages through the URL.
I'll look into it tomorrow, unless someone has another idea.
Edit: logging out on "My Profile" and "preferences" crashes.