Some more corrections.
This commit is contained in:
@@ -222,7 +222,7 @@ if (top != self) {
|
|||||||
// BEGIN Swekey Integration
|
// BEGIN Swekey Integration
|
||||||
$swekeyErr = Swekey_auth_error();
|
$swekeyErr = Swekey_auth_error();
|
||||||
if ($swekeyErr != null) {
|
if ($swekeyErr != null) {
|
||||||
PMA_Message::error($swekeyErr)->display();
|
PMA_Message::error($swekeyErr)->display();
|
||||||
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
|
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
|
||||||
echo '<div>';
|
echo '<div>';
|
||||||
$GLOBALS['error_handler']->dispErrors();
|
$GLOBALS['error_handler']->dispErrors();
|
||||||
@@ -242,7 +242,7 @@ if (top != self) {
|
|||||||
} else {
|
} else {
|
||||||
$user_input_disabled = '';
|
$user_input_disabled = '';
|
||||||
}
|
}
|
||||||
// END Swekey Integration
|
// END Swekey Integration
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<br />
|
<br />
|
||||||
@@ -412,8 +412,9 @@ function PMA_auth_check()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// BEGIN Swekey Integration
|
// BEGIN Swekey Integration
|
||||||
if (! Swekey_auth_check())
|
if (! Swekey_auth_check()) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
// END Swekey Integration
|
// END Swekey Integration
|
||||||
|
|
||||||
if (defined('PMA_CLEAR_COOKIES')) {
|
if (defined('PMA_CLEAR_COOKIES')) {
|
||||||
|
Reference in New Issue
Block a user