From 5ee1d8db57fa39202e82b96297559c8c513e2043 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 6 Sep 2011 22:26:59 -0500 Subject: [PATCH] removed code examples from auth class. --- laravel/security/authenticator.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/laravel/security/authenticator.php b/laravel/security/authenticator.php index a0dea601..1bb0a15f 100644 --- a/laravel/security/authenticator.php +++ b/laravel/security/authenticator.php @@ -54,7 +54,6 @@ public function __construct(Driver $driver, Hashing\Engine $hasher) /** * Determine if the current user of the application is authenticated. * - * @see login() * @return bool */ public function check() @@ -69,10 +68,6 @@ public function check() * the "by_id" closure in the authentication configuration file. The result * of the closure will be cached and returned. * - * - * $email = Auth::user()->email; - * - * * @return object */ public function user() @@ -94,13 +89,6 @@ public function user() * The password passed to the method should be plain text, as it will be hashed * by the Hash class when authenticating. * - * - * if (Auth::login('email@example.com', 'password')) - * { - * // The credentials are valid and the user is now logged in. - * } - * - * * @param string $username * @param string $password * @return bool