e107_plugins/alt_auth/otherdb_auth.php
Avoid too many return
statements within this method. Open
Open
return AUTH_SUCCESS;
Avoid too many return
statements within this method. Open
Open
return AUTH_BADPASSWORD;
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Parameter $newvals
has undeclared type \pointer
Open
Open
public function login($uname, $pword, &$newvals, $connect_only = FALSE)
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
if ($connect_only) return AUTH_SUCCESS; // Test mode may just want to connect to the DB
- Exclude checks
Reference to undeclared constant \AUTH_BADPASSWORD
Open
Open
return AUTH_BADPASSWORD;
- Exclude checks
Suspicious array access to \pointer
Open
Open
$newvals[substr($k,strlen('otherdb_xf_'))] = $row[$v];
- Exclude checks
Class \auth_login
defined at /code/e107_plugins/alt_auth/otherdb_auth.php:33
was previously defined as Class \auth_login
at /code/e107_plugins/alt_auth/e107db_auth.php:34
Open
Open
class auth_login extends alt_auth_base
- Exclude checks
Reference to undeclared constant \AUTH_BADPASSWORD
Open
Open
return AUTH_BADPASSWORD;
- Exclude checks
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
return AUTH_SUCCESS;
- Exclude checks
Reference to undeclared constant \AUTH_NOUSER
Open
Open
return AUTH_NOUSER;
- Exclude checks
Saw an @param annotation for pass,
but it was not found in the param list of function login(string $uname, $pword, \pointer &$newvals, bool|false $connect_only = null) : int
Open
Open
* @param string $pass - Password to use (usually plain text)
- Exclude checks