diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/app/models/local_email.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/models/local_email.rb b/users/app/models/local_email.rb index c35fdf7..24624e7 100644 --- a/users/app/models/local_email.rb +++ b/users/app/models/local_email.rb @@ -37,7 +37,7 @@ class LocalEmail < Email end def add_domain_if_needed - self.email = self.email + "@" + APP_CONFIG[:domain] unless self.email.include?("@") + self.email += "@" + APP_CONFIG[:domain] unless self.email.include?("@") end end |