diff options
Diffstat (limited to 'users/config')
-rw-r--r-- | users/config/locales/en.yml | 2 | ||||
-rw-r--r-- | users/config/routes.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/users/config/locales/en.yml b/users/config/locales/en.yml index 32d183b..c527e56 100644 --- a/users/config/locales/en.yml +++ b/users/config/locales/en.yml @@ -25,6 +25,8 @@ en: associated_email: "The associated email address is" cookie_disabled_warning: "You have cookies disabled. You will not be able to login until you enable cookies." js_required: "We are sorry, but this doesn't work without javascript enabled. This is for security reasons." + enable_description: "This will restore the account to full functionality" + deactivate_description: "This will temporarily deactivate some account functionality." #todo detail exact functionality. can receive email but not send or renew client certificate? activemodel: models: diff --git a/users/config/routes.rb b/users/config/routes.rb index 9a9a40e..cd510a8 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -15,6 +15,8 @@ Rails.application.routes.draw do get "signup" => "users#new", :as => "signup" resources :users do resources :email_aliases, :only => [:destroy], :id => /.*/ + post 'deactivate', on: :member + post 'enable', on: :member end get "/.well-known/host-meta" => 'webfinger#host_meta' |