Compare commits

..

No commits in common. "main" and "v0.3.0" have entirely different histories.
main ... v0.3.0

1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ abstract class FormData
{ {
$username = self::validateMailAddress($username, $required, 'Username'); $username = self::validateMailAddress($username, $required, 'Username');
if ($username !== null && strpos($username, '%') !== false) { if (strpos($username, '%') !== false) {
throw new InputValidationError('Username must not contain the wildcard character "%" (use a wildcard alias instead).'); throw new InputValidationError('Username must not contain the wildcard character "%" (use a wildcard alias instead).');
} }
return $username; return $username;