mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Include disabled omniauth in ichain config for delayed jobs
This commit is contained in:
parent
7cf444f3bb
commit
164dd75712
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class User < ActiveRecord::Base
|
|||
devise_modules = []
|
||||
|
||||
if CONFIG['authentication']['ichain']['enabled']
|
||||
devise_modules += [ :ichain_authenticatable, :ichain_registerable ]
|
||||
devise_modules += [ :ichain_authenticatable, :ichain_registerable, :omniauthable, omniauth_providers: [] ]
|
||||
else
|
||||
devise_modules += [:database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable, :confirmable,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue