diff --git a/app/models/registrant_user.rb b/app/models/registrant_user.rb index 1aa9ff711..f5a59a0b6 100644 --- a/app/models/registrant_user.rb +++ b/app/models/registrant_user.rb @@ -21,6 +21,8 @@ class RegistrantUser < User u = where(registrant_ident: "#{country}-#{identity_code}").first_or_create u.username = "#{first_name} #{last_name}" u.save + + u end end end