Skip to content

Commit

Permalink
User : allow @ in username field -refs BT#20574
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoDucou committed Mar 30, 2023
1 parent 08d4255 commit c6f7cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/api.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@

define('LOG_WS', 'access_ws_');

define('USERNAME_PURIFIER', '/[^0-9A-Za-z_\.\$-]/');
define('USERNAME_PURIFIER', '/[^0-9A-Za-z_\.@\$-]/');

//used when login_is_email setting is true
define('USERNAME_PURIFIER_MAIL', '/[^0-9A-Za-z_\.@]/');
Expand Down

0 comments on commit c6f7cb9

Please sign in to comment.