Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/private/User/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ public function validateUserId(string $uid, bool $checkDataDirectory = false): v
// Check the ID for bad characters
// Allowed are: "a-z", "A-Z", "0-9", spaces and "_.@-'"
if (preg_match('/[^a-zA-Z0-9 _.@\-\']/', $uid)) {
throw new \InvalidArgumentException($l->t('Only the following characters are allowed in an Login:'
throw new \InvalidArgumentException($l->t('Only the following characters are allowed in a Login:'
. ' "a-z", "A-Z", "0-9", spaces and "_.@-\'"'));
}

Expand Down
Loading