mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
class User < ActiveRecord::Base
|
||||
include Versions # version/user_version.rb
|
||||
devise :database_authenticatable, :trackable, :timeoutable
|
||||
devise :trackable, :timeoutable
|
||||
|
||||
attr_accessor :phone
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue