Skip to content

Commit a239120

Browse files
committed
added also < as problematic char in username
1 parent eb2a2be commit a239120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/SSO_Helpers_Legacy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function handleLegacyLogin( $nonce, $salt ) {
3939
}
4040

4141
if ( $user ) {
42-
if ( preg_match( "/['\"\\\\]/", $user->user_login ) ) {
42+
if ( preg_match( "/['\"\\\\<]/", $user->user_login ) ) {
4343
self::triggerFailure( 'invalid_username' );
4444
exit;
4545
}

0 commit comments

Comments
 (0)