diff --git a/htdocs/sql/libraries/auth/signon.auth.lib.php b/htdocs/sql/libraries/auth/signon.auth.lib.php new file mode 100755 --- /dev/null +++ b/htdocs/sql/libraries/auth/signon.auth.lib.php @@ -0,0 +1,174 @@ + authentication failed + * + * @return boolean always true (no return indeed) + * + * @access public + */ +function PMA_auth_fails() +{ + $error = PMA_DBI_getError(); + if ($error && $GLOBALS['errno'] != 1045) { + PMA_fatalError($error); + } else { + PMA_auth(); + return true; + } + +} // end of the 'PMA_auth_fails()' function + +?>