Ignore legacy moderator and admin columns on User model (#29188)

This commit is contained in:
Emelia Smith 2024-02-13 18:14:49 +01:00 committed by GitHub
parent 476a043fc5
commit e8b66a0525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 2 deletions

View file

@ -32,7 +32,6 @@ module User::PamAuthenticable
self.email = "#{account.username}@#{find_pam_suffix}" if email.nil? && find_pam_suffix
self.confirmed_at = Time.now.utc
self.admin = false
self.account = account
self.external = true