X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b1553135fc03e6b4b5f919b98d0fe0e25f37ae10..aaed886890216b0e45a92b49fec7aad49e281e74:/app/models/user.rb 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