Closed MarkHammondJr closed 9 years ago
@dennisccsf or @ptaal do one of you guys want to tackle this? Should be able to modify the layout.erb to add one more button for starters on this.
I will take a stab at it. I'm thinking I will need to make changes to navbar to remove signin and register items and replace with the logout button.
still getting familiar with sinatra and ruby...is there anything i reference to tell me that a user is logged in?
env['warden'].authenticated?
That question mark is not me being doubtful. The method returns a boolean value.
Wasn't this fixed on an earlier commit? Can't see anything in the log, but appears correct, am I missing anything?
It was. The issue was just never closed.
Needs a logout button for when user is logged in.