mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 15:14:47 +02:00
Remove rememberable
and lockable
modules from AdminUser
This commit is contained in:
parent
bb39d0340e
commit
c538579d5b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class AdminUser < User
|
||||||
|
|
||||||
ROLES = %w(user customer_service admin) # should not match to api_users roles
|
ROLES = %w(user customer_service admin) # should not match to api_users roles
|
||||||
|
|
||||||
devise :database_authenticatable, :rememberable, :trackable, :validatable, :lockable
|
devise :database_authenticatable, :trackable, :validatable
|
||||||
|
|
||||||
def self.min_password_length
|
def self.min_password_length
|
||||||
Devise.password_length.min
|
Devise.password_length.min
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue