Trust Google and Yahoo to return valid email addresses
Both Google and Yahoo guarantee that the email address they return during the OpenID authentication are emails that they have already verified: http://stackoverflow.com/q/5639419 Therefore special case these OpenID providers and automatically activate the new users account without requiring a separate email verification step. This therefore reduces the signup procedure by one step and makes it easier for new users of these OpenID providers, which cover the majority of users.
This commit is contained in:
parent
7eb01eb313
commit
104727f889
5 changed files with 72 additions and 10 deletions
|
@ -1,11 +1,17 @@
|
|||
<p><%= t'notifier.signup_confirm_html.greeting' %></p>
|
||||
|
||||
<% if @url %>
|
||||
<p><%= t'notifier.signup_confirm_html.hopefully_you' %>
|
||||
<%= SERVER_URL %>.</p>
|
||||
|
||||
<p><%= t'notifier.signup_confirm_html.click_the_link' %></p>
|
||||
|
||||
<p><%= raw(link_to @url, @url) %></p>
|
||||
<% else %>
|
||||
<p><%= t'notifier.signup_confirm_html.created_account' %>
|
||||
<%= SERVER_URL %>.</p>
|
||||
<p><%= t'notifier.signup_confirm_html.welcome' %></p>
|
||||
<% end %>
|
||||
|
||||
<p><%= raw(t'notifier.signup_confirm_html.introductory_video', :introductory_video_link => link_to(t('notifier.signup_confirm_html.video_to_openstreetmap'), "http://showmedo.com/videos/video?name=1800000&fromSeriesID=180")) %>
|
||||
<%= raw(t'notifier.signup_confirm_html.more_videos', :more_videos_link => link_to(t('notifier.signup_confirm_html.more_videos_here'), "http://showmedo.com/videos/series?name=mS2P1ZqS6")) %></p>
|
||||
|
|
|
@ -1,12 +1,22 @@
|
|||
<%= t'notifier.signup_confirm_plain.greeting' %>
|
||||
|
||||
<% if @url %>
|
||||
<%= t'notifier.signup_confirm_plain.hopefully_you' %>
|
||||
|
||||
<%= SERVER_URL %>
|
||||
|
||||
<%= t'notifier.signup_confirm_plain.click_the_link_1' %>
|
||||
<%= t'notifier.signup_confirm_plain.click_the_link_2' %>
|
||||
|
||||
<%= @url %>
|
||||
<% else %>
|
||||
<%= t'notifier.signup_confirm_plain.created_account' %>
|
||||
|
||||
<%= SERVER_URL %>
|
||||
|
||||
<%= t'notifier.signup_confirm_plain.welcome_1' %>
|
||||
<%= t'notifier.signup_confirm_plain.welcome_2' %>
|
||||
<% end %>
|
||||
|
||||
<%= t'notifier.signup_confirm_plain.introductory_video' %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue