mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
Allow username capitalisation to be changed
See https://discuss.flarum.org/d/1573-uppercase-lowercase-username-flagged-as-taken
This commit is contained in:
@@ -134,6 +134,7 @@ class EditUserHandler
|
||||
new UserWillBeSaved($user, $actor, $data)
|
||||
);
|
||||
|
||||
$this->validator->setUser($user);
|
||||
$this->validator->assertValid(array_merge($user->getDirty(), $validate));
|
||||
|
||||
$user->save();
|
||||
|
Reference in New Issue
Block a user