diff --git a/app/models/user.rb b/app/models/user.rb index 8662bcf4f..3a49d1c34 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -225,6 +225,12 @@ Your #{config.product_name} Team private def check_geo + # geo update if no user exists + if !self.id + self.geo_update + return + end + location = ['street', 'zip', 'city', 'country'] # check if geo update is needed