Allow password resets and account unlocks on banned accounts (fixes derpibooru/philomena#259)

This commit is contained in:
byte[] 2021-11-07 09:33:22 -05:00
parent cafba455cd
commit bf568745dc

View file

@ -77,6 +77,15 @@ defmodule PhilomenaWeb.Router do
]
resources "/registrations", RegistrationController, only: [:new, :create], singleton: true
end
scope "/", PhilomenaWeb do
pipe_through [
:browser,
:ensure_tor_authorized,
:redirect_if_user_is_authenticated
]
resources "/passwords", PasswordController, only: [:new, :create, :edit, :update]
resources "/confirmations", ConfirmationController, only: [:new, :create, :show]
resources "/unlocks", UnlockController, only: [:new, :create, :show]