mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Specify Devise modules for each type of user
This commit is contained in:
parent
02137b620e
commit
c31f507c25
4 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@ class RegistrantUser < User
|
|||
ACCEPTED_ISSUER = 'AS Sertifitseerimiskeskus'
|
||||
attr_accessor :idc_data
|
||||
|
||||
devise :database_authenticatable, :trackable, :timeoutable
|
||||
|
||||
def ability
|
||||
@ability ||= Ability.new(self)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue