mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Allow password resets and account unlocks on banned accounts (fixes derpibooru/philomena#259)
This commit is contained in:
parent
cafba455cd
commit
bf568745dc
1 changed files with 9 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue