diff options
author | Simon Rettberg | 2023-10-06 18:26:22 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-06 18:26:22 +0200 |
commit | e5be4e97ffc41ca3b0386651a626b781a3637a85 (patch) | |
tree | 20152d35607de272edae44725efba13f21da85a1 /modules/adduser.inc.php | |
parent | api: Hard-code bogus name/mail for read only (STUDENT) login (diff) | |
download | bwlp-webadmin-e5be4e97ffc41ca3b0386651a626b781a3637a85.tar.gz bwlp-webadmin-e5be4e97ffc41ca3b0386651a626b781a3637a85.tar.xz bwlp-webadmin-e5be4e97ffc41ca3b0386651a626b781a3637a85.zip |
Update for PHP 8.2
Diffstat (limited to 'modules/adduser.inc.php')
-rw-r--r-- | modules/adduser.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/adduser.inc.php b/modules/adduser.inc.php index 20bfe47..207858b 100644 --- a/modules/adduser.inc.php +++ b/modules/adduser.inc.php @@ -28,7 +28,7 @@ class Page_AddUser extends Page Message::addError('Ein Feld wurde nicht ausgefüllt.'); } else { // Validate login - if (preg_match('/^[a-z0-9_\.\-]+@([a-z0-9_\.\-]+)$/i', $login, $out)) { + if (preg_match('/^[a-z0-9_.\-]+@([a-z0-9_.\-]+)$/i', $login, $out)) { // Complete login $suffix = $out[1]; } else if (strpos($login, '@') !== false) { |