added comment to auth class.
This commit is contained in:
parent
70e35fb3d7
commit
22c1353cea
|
@ -53,6 +53,9 @@ public static function user()
|
||||||
/**
|
/**
|
||||||
* Attempt to login a user.
|
* Attempt to login a user.
|
||||||
*
|
*
|
||||||
|
* If the user credentials are valid. The user ID will be stored in the session
|
||||||
|
* and will be considered "logged in" on subsequent requests to the application.
|
||||||
|
*
|
||||||
* @param string $username
|
* @param string $username
|
||||||
* @param string $password
|
* @param string $password
|
||||||
*/
|
*/
|
||||||
|
@ -78,7 +81,7 @@ public static function login($username, $password)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logout the current user of the application.
|
* Logout the user of the application.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue