Changeset 2391 for trunk/modules/auth/controllers/auth_demo.php
- Timestamp:
- 03/31/2008 03:06:27 PM (8 months ago)
- Files:
-
- 1 modified
-
trunk/modules/auth/controllers/auth_demo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/controllers/auth_demo.php
r2388 r2391 86 86 87 87 // Attempt a login 88 if ($ this->auth->login($user, $form->password->value))88 if ($user->has_role('login') AND $this->auth->login($user, $form->password->value)) 89 89 { 90 90 echo '<h4>Login Success!</h4>';
