mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
PHPDoc fixes and code optimization.
This commit is contained in:
@@ -41,7 +41,7 @@ class auth_login extends alt_auth_base
|
||||
/**
|
||||
* Read configuration, initialise connection to remote e107 database
|
||||
*
|
||||
* @return AUTH_xxxx result code
|
||||
* @return void result code
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
@@ -271,7 +271,7 @@ class ExtendedPasswordHandler extends UserHandler
|
||||
* @param string $stored_hash - required value for password to match
|
||||
* @param integer $password_type - constant specifying the type of password to check against
|
||||
*
|
||||
* @return PASSWORD_INVALID|PASSWORD_VALID|string
|
||||
* @return string PASSWORD_INVALID|PASSWORD_VALID|string
|
||||
* PASSWORD_INVALID if no match
|
||||
* PASSWORD_VALID if valid password
|
||||
* Return a new hash to store if valid password but non-preferred encoding
|
||||
@@ -327,7 +327,7 @@ class ExtendedPasswordHandler extends UserHandler
|
||||
case self::PASSWORD_E107_SALT :
|
||||
//return e107::getUserSession()->CheckPassword($password, $login_name, $stored_hash);
|
||||
return parent::CheckPassword($password, $login_name, $stored_hash);
|
||||
break;
|
||||
// break;
|
||||
|
||||
case self::PASSWORD_PHPBB_SALT :
|
||||
case self::PASSWORD_WORDPRESS_SALT :
|
||||
|
@@ -41,7 +41,7 @@ class auth_login extends alt_auth_base
|
||||
/**
|
||||
* Read configuration
|
||||
*
|
||||
* @return AUTH_xxxx result code
|
||||
* @return void result code
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
@@ -42,7 +42,7 @@ class auth_login extends alt_auth_base
|
||||
/**
|
||||
* Read configuration
|
||||
*
|
||||
* @return AUTH_xxxx result code
|
||||
* @return void result code
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<author name="e107 Inc." url="e107.org" email="security@e107.org" />
|
||||
<description lan="LAN_ALT_66">This plugin allows for alternate authentication methods.</description>
|
||||
<category>users</category>
|
||||
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
|
||||
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (https://www.gnu.org/licenses/gpl.txt)</copyright>
|
||||
<adminLinks>
|
||||
<link url='alt_auth_conf.php' description='LAN_ALT_67' icon='images/alt_auth_32.png' iconSmall='images/alt_auth_16.png' primary='true' />
|
||||
</adminLinks>
|
||||
|
Reference in New Issue
Block a user