Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-06-03 04:20:23 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-03 04:20:23 +0400
commitdbeaeeb7e2cde2470538a543d34c9afb435c42d6 (patch)
tree7daf147797fbd72bd8b6d54b01ec8078ac62c8a3 /libraries
parentf67aff2302def08d6e37598f41b9c4ded90fc836 (diff)
Fixed bug #3531584 - No form validation in change password dialog
Diffstat (limited to 'libraries')
-rw-r--r--libraries/display_change_password.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php
index 3397dd0efb..c5e7865b8a 100644
--- a/libraries/display_change_password.lib.php
+++ b/libraries/display_change_password.lib.php
@@ -19,7 +19,7 @@ $chg_evt_handler = (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 5)
// Displays the form
?>
- <form method="post" id="change_password_form" action="<?php echo $GLOBALS['PMA_PHP_SELF']; ?>" name="chgPassword" <?php echo ($GLOBALS['cfg']['AjaxEnable'] ? 'class="ajax" ' : ''); ?> onsubmit="return checkPassword(this)">
+ <form method="post" id="change_password_form" action="<?php echo $GLOBALS['PMA_PHP_SELF']; ?>" name="chgPassword" <?php echo ($GLOBALS['cfg']['AjaxEnable'] ? 'class="ajax" ' : ''); ?>>
<?php echo PMA_generate_common_hidden_inputs();
if (strpos($GLOBALS['PMA_PHP_SELF'], 'server_privileges') !== false) {
echo '<input type="hidden" name="username" value="' . htmlspecialchars($username) . '" />' . "\n"