From a9c14b3db5861fd293e6fd46a528b9d0b35b7849 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 11 Jul 2011 12:45:04 -0700 Subject: [PATCH] Tweaking Auth config comments. --- application/config/auth.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/application/config/auth.php b/application/config/auth.php index 008b0eb7..979231dd 100644 --- a/application/config/auth.php +++ b/application/config/auth.php @@ -7,8 +7,8 @@ return array( | Retrieve Users By ID |-------------------------------------------------------------------------- | - | This method is called by the Auth::user() method when attempting to load - | a user by their user ID. + | This method is called by the Auth::user() method when attempting to + | retrieve a user by their user ID. | | You are free to change this method for your application however you wish. | @@ -24,11 +24,13 @@ return array( | Retrieve Users By Username |-------------------------------------------------------------------------- | - | This method is called by the Auth::check() method when attempting to load - | a user by their username. + | This method is called by the Auth::check() method when attempting to + | retrieve a user by their username. | - | You are free to change this method for your application however you wish, - | as long as you return an object that has "id" and "password" properties. + | You are free to change this method for your application however you wish. + | + | Note: This method must return an object that has an "id" and a "password" + | property. The type of object returned doesn't matter. | */