mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
parent
58effbb7c3
commit
20c99bd53a
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class AdminUser < User
|
|||
|
||||
ROLES = %w(user customer_service admin) # should not match to api_users roles
|
||||
|
||||
devise :rememberable, :validatable, :lockable
|
||||
devise :database_authenticatable, :rememberable, :trackable, :validatable, :lockable
|
||||
|
||||
def self.min_password_length
|
||||
Devise.password_length.min
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue