diff --git a/app/models/user.rb b/app/models/user.rb index 3e85d040f..5bb54c08a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -317,7 +317,7 @@ Your #{config.product_name} Team location.each { |item| current_location[item] = current[item] } - + # get full address next_location = {} location.each { |item| @@ -356,7 +356,7 @@ Your #{config.product_name} Team end def check_password - + # set old password again if self.password == '' || !self.password