fix logic for snap sso link
This commit is contained in:
parent
640d33f187
commit
46a35cf704
1 changed files with 2 additions and 2 deletions
|
|
@ -1,13 +1,13 @@
|
|||
.text-center
|
||||
.btn-group.btn-group-lg#openid-btn-grp
|
||||
- omniauth_configured.each do |provider|
|
||||
- if provider.to_s != :discourse
|
||||
- if provider != :discourse
|
||||
= link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg",
|
||||
id: "omniauth-#{provider}",
|
||||
title: "Your #{provider} login" do
|
||||
%i{class: "fa fa-#{provider}"}
|
||||
- else
|
||||
= link_to("Snap! Account",
|
||||
= link_to("Snap!",
|
||||
"user_#{provider}_omniauth_authorize".to_sym,
|
||||
class: "btn btn-success btn-lg",
|
||||
id: "omniauth-#{provider}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue