Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
#251 | Jie Sheng | Change from if not to unless
Browse files Browse the repository at this point in the history
  • Loading branch information
Chua Jie Sheng committed Nov 24, 2014
1 parent c199e54 commit 2480849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/security/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def logged_in?
end

def clear_current_user_if_expired
if !logged_in? then
unless logged_in?
session[:rftr_session_id] = nil
end
end
Expand Down

0 comments on commit 2480849

Please sign in to comment.