X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c6bb4a5f4eadc46bac599cd6a5174b199c1b6026..d104736809d9e36b0bc955f3425c4d47a370e78b:/app/models/user.rb?ds=sidebyside diff --git a/app/models/user.rb b/app/models/user.rb index 3d74b3933..7571dd9dc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -115,6 +115,7 @@ class User < ApplicationRecord alias_attribute :created_at, :creation_time + after_initialize :encrypt_password before_save :encrypt_password before_save :update_tile after_save :spam_check