Tweak devise modules list
This commit is contained in:
parent
4d4bdd00c6
commit
2e62aaf0c8
3 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class User < ApplicationRecord
|
|||
else
|
||||
[:database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable, :confirmable,
|
||||
:omniauthable, omniauth_providers: [:suse, :google, :facebook, :github]]
|
||||
:omniauthable, omniauth_providers: [:google, :discourse]]
|
||||
end
|
||||
|
||||
devise(*devise_modules)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue