Fixes user creation in certain cases.

This commit is contained in:
Luka Vandervelden 2020-01-20 13:44:48 +01:00
parent 0e9d595a23
commit 7610025334

View File

@ -143,7 +143,7 @@ class AuthD::Service
user.profile = profile
end
@users_per_uid.update user.uid.to_s, user
@users << user
Response::UserAdded.new user.to_public
when Request::UpdatePassword