Keep matching mainline as much as possible
This commit is contained in:
parent
94153792ba
commit
4bc60b2b79
17 changed files with 3 additions and 128 deletions
|
|
@ -128,8 +128,6 @@ class User < ApplicationRecord
|
|||
scope :matches_ip, ->(value) { left_joins(:ips).where('user_ips.ip <<= ?', value).group('users.id') }
|
||||
|
||||
before_validation :sanitize_role
|
||||
before_validation :sanitize_time_zone
|
||||
before_validation :sanitize_locale
|
||||
before_create :set_approved
|
||||
after_commit :send_pending_devise_notifications
|
||||
after_create_commit :trigger_webhooks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue