forked from External/greenlight
add option in settings to delete account
This commit is contained in:
@ -61,6 +61,11 @@ en:
|
||||
name_placeholder: Enter a room name...
|
||||
not_blank: Room name cannot be blank.
|
||||
title: Create New Room
|
||||
delete_account:
|
||||
confirm: Are you sure you want to delete your account?
|
||||
delete: I'm sure, delete my account.
|
||||
keep: Actually, I'll keep it.
|
||||
warning: This decision is final. You will <b>not</b> be able to recover associated data.
|
||||
delete_room:
|
||||
confirm: Are you sure you want to delete %{room}?
|
||||
delete: I'm sure, delete this room.
|
||||
@ -107,6 +112,11 @@ en:
|
||||
image_url: Profile Image URL
|
||||
subtitle: Update your Account Info
|
||||
title: Account
|
||||
delete:
|
||||
button: Yes, I would like to delete my account.
|
||||
disclaimer: If you choose to delete your account, it will <b>NOT</b> be recoverable. All information regarding your account, including settings, rooms, and recording references will be removed.
|
||||
subtitle: Permanently Delete your Account
|
||||
title: Delete Account
|
||||
design:
|
||||
not_supported: Customization not currently supported.
|
||||
subtitle: Customize Greenlight
|
||||
|
@ -20,8 +20,10 @@ Rails.application.routes.draw do
|
||||
# Log the user out of the session.
|
||||
get '/logout', to: 'sessions#destroy'
|
||||
|
||||
# Account management.
|
||||
get '/:user_uid/edit', to: 'users#edit', as: :edit_user
|
||||
patch '/:user_uid/edit', to: 'users#update', as: :update_user
|
||||
delete '/:user_uid', to: 'users#destroy', as: :delete_user
|
||||
end
|
||||
|
||||
# Handles Omniauth authentication.
|
||||
|
Reference in New Issue
Block a user