Experimental authentication for Launchpad and Google added

This commit is contained in:
Christoph Haas 2017-04-06 12:56:06 +02:00
parent 0c080386ef
commit 9a5ddb5e13
8 changed files with 154 additions and 44 deletions

View file

@ -20,12 +20,20 @@
.small-6.columns
= f.password_field :password, autocomplete: "off"
- if devise_mapping.rememberable?
.small-6.columns
= f.check_box :remember_me
.small-6.columns
= f.label :remember_me
/ - if devise_mapping.rememberable?
/ .small-6.columns
/ = f.check_box :remember_me
/ .small-6.columns
/ = f.label :remember_me
= f.submit "Log in", class: 'button'
= render "devise/shared/links"
/ = render "devise/shared/links"
/ h1 Experimental SSL certificate Debian SSO auth
/
/ = link_to 'log in using your secure certificate', users_debian_sso_path
/ = link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path
= link_to "Sign in with Google", user_google_oauth2_omniauth_authorize_path
= link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path