Changeset 3484 for trunk/modules/auth
- Timestamp:
- 09/25/2008 12:56:53 PM (2 months ago)
- Files:
-
- 1 modified
-
trunk/modules/auth/classes/auth.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/classes/auth.php
r3458 r3484 89 89 90 90 /** 91 * Returns the currently logged in user, or FALSE. 92 * 93 * @return mixed 94 */ 95 public function get_user() 96 { 97 if ($this->driver->logged_in(NULL)) 98 { 99 return Session::instance()->get('auth_user', FALSE); 100 } 101 102 return FALSE; 103 } 104 105 /** 91 106 * Attempt to log in a user by using an ORM object and plain-text password. 92 107 *
