Skip to content

Commit

Permalink
passwords should be max 32 long when changing password
Browse files Browse the repository at this point in the history
  • Loading branch information
fiammybe committed Dec 14, 2020
1 parent 8179c03 commit d67e03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changemail.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
include 'header.php';

if (!isset($_POST['submit']) && !isset($_REQUEST['oldmail'])) {
//show change password form
//show change email form
$form = new icms_form_Theme(_MD_PROFILE_CHANGEMAIL, 'form', $_SERVER['REQUEST_URI'], 'post', true);
$form->addElement(new icms_form_elements_Text(_MD_PROFILE_NEWMAIL, 'newmail', 15, 50), true);
$form->addElement(new icms_form_elements_Button('', 'submit', _SUBMIT, 'submit'));
Expand Down

0 comments on commit d67e03f

Please sign in to comment.