Skip to content
Commit a9de2b4b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Refactor Auth controller login/logout methods.

Rename several methods:

- loggedIn -> setLoggedIn
- loggedOut -> setLoggedOut
  For setting the state of login form.

- getSession -> retreveSession
  "get" is a bad start for method that doesn't return a value.

- showLogin -> showLoginForm
  Previously it was hard to distinguish it from showLoggedIn.

- loggedIn -> isLoggedIn
  Now the method for checking logged in status is named the same
  way in both Auth and AuthHelpers.  This also differenciates it
  from the event "loggedIn".
parent 26d23734
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment