feat: implement password authentication
This commit is contained in:
parent
498ecdf68b
commit
62a329aebd
5 changed files with 55 additions and 5 deletions
|
@ -2,9 +2,10 @@ Rails.application.routes.draw do
|
|||
root "page#index"
|
||||
|
||||
post "/new", to: "instance#create", as: :new_instance
|
||||
get "/:public_id", to: "instance#show", as: :show_instance
|
||||
post "/pop", to: "instance#pop", as: :pop_in_instance
|
||||
post "/reset", to: "instance#reset", as: :reset_in_instance
|
||||
post "/auth", to: "instance#authenticate", as: :authenticate_to_instance
|
||||
get "/:public_id", to: "instance#show", as: :show_instance
|
||||
|
||||
get "up" => "rails/health#show", as: :rails_health_check
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue