e107_plugins/alt_auth/e107db_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_NOUSER; // Treat as non-existent user
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
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \AUTH_NOCONNECT
Open
Open
return AUTH_NOCONNECT;
- Exclude checks
Reference to undeclared constant \AUTH_BADPASSWORD
Open
Open
return AUTH_BADPASSWORD;
- 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_BADPASSWORD
Open
Open
return AUTH_BADPASSWORD;
- Exclude checks
Reference to undeclared constant \AUTH_NOUSER
Open
Open
return AUTH_NOUSER; // Treat as non-existent user
- Exclude checks
Reference to undeclared constant \AUTH_NOUSER
Open
Open
return AUTH_NOUSER;
- Exclude checks
Suspicious array access to \pointer
Open
Open
if (isset($row[$f])) $newvals[$f] = $row[$f];
- Exclude checks
Reference to undeclared constant \AUTH_SUCCESS
Open
Open
return AUTH_SUCCESS;
- Exclude checks