File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 123123
124124 // Check password length
125125 if (empty ($ _SESSION ['error_msg ' ]) && !empty ($ _POST ['v_fwd_only ' ]) ) {
126- if (!validate_password ($ _POST ['v_password ' ])) { $ _SESSION ['error_msg ' ] = __ ('Password does not match the minimum requirements ' );}
126+ if (!validate_password ($ _POST ['v_password ' ])) { $ _SESSION ['error_msg ' ] = _ ('Password does not match the minimum requirements ' );}
127127 }
128128
129129 // Protect input
Original file line number Diff line number Diff line change 6464 // Change database password
6565 if ((!empty ($ _POST ['v_password ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
6666 if (!validate_password ($ _POST ['v_password ' ])) {
67- $ _SESSION ['error_msg ' ] = __ ('Password does not match the minimum requirements ' );
67+ $ _SESSION ['error_msg ' ] = _ ('Password does not match the minimum requirements ' );
6868 }else {
6969 $ v_password = tempnam ("/tmp " ,"vst " );
7070 $ fp = fopen ($ v_password , "w " );
Original file line number Diff line number Diff line change 399399 // Change password
400400 if ((!empty ($ _POST ['v_password ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
401401 if (!validate_password ($ _POST ['v_password ' ])) {
402- $ _SESSION ['error_msg ' ] = __ ('Password does not match the minimum requirements ' );
402+ $ _SESSION ['error_msg ' ] = _ ('Password does not match the minimum requirements ' );
403403 }else {
404404 $ v_password = tempnam ("/tmp " ,"vst " );
405405 $ fp = fopen ($ v_password , "w " );
Original file line number Diff line number Diff line change 101101 if ((!empty ($ _POST ['v_password ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
102102 // Check password length
103103 $ pw_len = strlen ($ _POST ['v_password ' ]);
104- if (!validate_password ($ _POST ['v_password ' ])) {
105- $ _SESSION ['error_msg ' ] = __ ('Password does not match the minimum requirements ' );
104+ if (!validate_password ($ _POST ['v_password ' ])){
105+ $ _SESSION ['error_msg ' ] = _ ('Password does not match the minimum requirements ' );
106106 }
107107 if (empty ($ _SESSION ['error_msg ' ])) {
108108 $ v_password = tempnam ("/tmp " ,"vst " );
You can’t perform that action at this time.
0 commit comments