mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Pull up Devise module
This commit is contained in:
parent
8b2a3344be
commit
58effbb7c3
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 :database_authenticatable, :rememberable, :trackable, :validatable, :lockable
|
||||
devise :rememberable, :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 :trackable, :timeoutable
|
||||
devise :database_authenticatable, :trackable, :timeoutable
|
||||
|
||||
attr_accessor :phone
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue