added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
module Authenticatable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
#
|
||||
# Devise
|
||||
#
|
||||
devise :database_authenticatable,
|
||||
:rememberable,
|
||||
:recoverable,
|
||||
:trackable,
|
||||
:validatable,
|
||||
:invitable,
|
||||
:omniauthable
|
||||
|
||||
#
|
||||
# Validates
|
||||
#
|
||||
validates :password, confirmation: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user