implement openID authentication

This commit is contained in:
Stella Rouzi 2014-06-18 16:58:30 +03:00
parent 37e026a9fb
commit 600adde6ba
23 changed files with 408 additions and 14 deletions

View file

@ -15,6 +15,18 @@
%br
%br
= render :partial => 'devise/registrations/volunteerperson', :locals => {:p => p}
= f.inputs :name => 'OpenID' do
%h4
Currently using the following openIDs:
- @openids.each do |openid|
= openid.provider
= openid.email
%br
%h4
To add an openID to your account using a different email address, sign in with your
openID while logged in to OSEM
= render 'devise/shared/openid'
= f.inputs :name => "Account" do
= f.input :email, :required => false
= f.input :password, :hint => "(Leave blank if you don't want to change it)", :input_html => {:autocomplete => "off"}