Add email service and settings

This commit is contained in:
2023-12-23 12:26:34 +01:00
parent aab6793b86
commit 958d18d61a
24 changed files with 506 additions and 35 deletions

View File

@@ -23,6 +23,12 @@ Rails.application.routes.draw do
resource :mastodon, only: [:show], controller: 'mastodon'
resource :email, only: [:show], controller: 'email' do
member do
get 'new_password'
end
end
resources :lightning, only: [:index] do
collection do
get 'transactions'
@@ -44,6 +50,7 @@ Rails.application.routes.draw do
collection do
post 'update_email'
post 'reset_password'
post 'reset_email_password'
post 'set_nostr_pubkey'
delete 'nostr_pubkey', to: 'settings#remove_nostr_pubkey'
end