Only show openid options if providers are set in User model.
This commit is contained in:
parent
609f2fd564
commit
be468be5d7
6 changed files with 32 additions and 25 deletions
|
|
@ -13,8 +13,9 @@
|
|||
%br
|
||||
%h4 Already have an account?
|
||||
= render 'devise/shared/links'
|
||||
.col-md-4
|
||||
.well
|
||||
%h4 Or use your openID
|
||||
- if resource_class.omniauth_providers.present?
|
||||
.col-md-4
|
||||
.well
|
||||
%h4 Or use your openID
|
||||
|
||||
= render 'devise/shared/openid'
|
||||
= render 'devise/shared/openid'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue