Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jan 8, 2023
1 parent 7725840 commit e6811d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,8 @@ function memberpages_MembersPanel()
$newpw_too_short = $newpassword && mb_strlen($newpassword,'UTF-8') < $pwlength? true : false;
$newpw_too_simple = $newpassword && $pwextra
&& ($pwextra== 1 && !preg_match('!^.*(?=.*[\p{Lu}]).*(?=.*[\p{Ll}]).*$!u',$newpassword)
|| $pwextra == 2 && !preg_match('!^.*(?=.*[\p{Lu}]).*(?=.*[\p{Ll}]).*(?=.*[\p{N}]).*$!u',$newpassword)); $newpw_forb_chars = $newpassword && !preg_match('!^[^\"\\\\]*$!u',$newpassword) ? true : false;
|| $pwextra == 2 && !preg_match('!^.*(?=.*[\p{Lu}]).*(?=.*[\p{Ll}]).*(?=.*[\p{N}]).*$!u',$newpassword));
$newpw_forb_chars = $newpassword && !preg_match('!^[^\"\\\\]*$!u',$newpassword) ? true : false;

if ($newpassword && !$newpw_notmatching && !$newpw_too_short && !$newpw_too_simple && !$newpw_forb_chars
&& !$newpw_notmatching && $member[$i]['pass'] != $newpassword)
Expand Down

0 comments on commit e6811d9

Please sign in to comment.