Replace resent confirmation link with button
This commit is contained in:
parent
127e376bf0
commit
fcfb7d4af1
6 changed files with 49 additions and 32 deletions
|
@ -1726,8 +1726,8 @@ en:
|
|||
success: "Confirmed your account, thanks for signing up!"
|
||||
already active: "This account has already been confirmed."
|
||||
unknown token: "That confirmation code has expired or does not exist."
|
||||
resend_html: "If you need us to resend the confirmation email, %{reconfirm_link}."
|
||||
click_here: click here
|
||||
if_need_resend: "If you need us to resend the confirmation email, click the button below."
|
||||
resend_button: Resend the confirmation email
|
||||
confirm_resend:
|
||||
failure: "User %{name} not found."
|
||||
confirm_email:
|
||||
|
|
|
@ -186,7 +186,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
post "/user/new" => "users#create"
|
||||
get "/user/terms" => "users#terms"
|
||||
post "/user/save" => "users#save"
|
||||
get "/user/:display_name/confirm/resend" => "confirmations#confirm_resend", :as => :user_confirm_resend
|
||||
post "/user/:display_name/confirm/resend" => "confirmations#confirm_resend", :as => :user_confirm_resend
|
||||
match "/user/:display_name/confirm" => "confirmations#confirm", :via => [:get, :post]
|
||||
match "/user/confirm" => "confirmations#confirm", :via => [:get, :post]
|
||||
match "/user/confirm-email" => "confirmations#confirm_email", :via => [:get, :post]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue