Fixed create of new users.
This commit is contained in:
parent
98458633a1
commit
5b1e46715a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue