jcgharvey / vsm-svr

0 stars 1 forks source link

Users need to be able to 'log out' and choose a different department #31

Closed bighuggies closed 11 years ago

bighuggies commented 11 years ago

Delete 'department' cookie, redirect to '/', should be pretty easy

ungarst commented 11 years ago

@bighuggies Do we want this in the navbar? Just clarifying before I start it because it will determine which controller to put it in.

Also when you get redirected to the index of patients and try go back you keep getting pushed back to the patients index? Is this the behavior that we want or would we rather auto log out when trying to go going "back" from the patient index to the login.

bighuggies commented 11 years ago

Perhaps we don't have a log out button, instead a nav bar drop down so you can change department from any page.

Otherwise the log out button should go in the nav bar.

I don't know about going back - both make sense in different ways. The current behaviour is the easiest though. On 20/05/2013 11:02 AM, "Dave Carpenter" notifications@github.com wrote:

@bighuggies https://github.com/bighuggies Do we want this in the navbar? Just clarifying before I start it because it will determine which controller to put it in.

Also when you get redirected to the index of patients and try go back you keep getting pushed back to the patients index? Is this the behavior that we want or would we rather auto log out when trying to go going "back" from the patient index to the login.

— Reply to this email directly or view it on GitHubhttps://github.com/jcgharvey/vsm-svr/issues/31#issuecomment-18126463 .

ungarst commented 11 years ago

Done