fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11101] api: typo


From: Sigurd Nes
Subject: [Fmsystem-commits] [11101] api: typo
Date: Fri, 10 May 2013 12:50:18 +0000

Revision: 11101
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11101
Author:   sigurdne
Date:     2013-05-10 12:50:17 +0000 (Fri, 10 May 2013)
Log Message:
-----------
api: typo

Modified Paths:
--------------
    trunk/phpgwapi/inc/auth/class.auth_custom_sso.inc.php

Modified: trunk/phpgwapi/inc/auth/class.auth_custom_sso.inc.php
===================================================================
--- trunk/phpgwapi/inc/auth/class.auth_custom_sso.inc.php       2013-05-10 
07:53:37 UTC (rev 11100)
+++ trunk/phpgwapi/inc/auth/class.auth_custom_sso.inc.php       2013-05-10 
12:50:17 UTC (rev 11101)
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage accounts
-       * @version $Id: class.auth_custom_sso.inc.php 10127 2012-10-07 
17:06:01Z sigurdne $
+       * @version $Id: class.auth_sql.inc.php 10166 2012-10-09 07:54:03Z 
sigurdne $
        */
 
        /*
@@ -44,13 +44,13 @@
                }
 
                /**
-               * Authenticate a user based on SSO
+               * Authenticate a user
                *
                * @param string $username the login to authenticate
                * @param string $passwd the password supplied by the user
                * @return bool did the user sucessfully authenticate
                */
-               public function authenticate($username, $passwd='')
+               public function authenticate($username, $passwd)
                {
                        $username = 
$GLOBALS['phpgw']->db->db_addslashes($username);
 
@@ -60,6 +60,7 @@
 
                        $GLOBALS['phpgw']->db->query($sql, __LINE__, __FILE__);
                        return !!$GLOBALS['phpgw']->db->next_record();
+       
                }
 
                /* php ping function
@@ -70,6 +71,7 @@
                return $rval === 0;
                }
 
+
                public function get_username()
                {
                        $config = CreateObject('phpgwapi.config','rental');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]