mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-19 21:13:52 +12:00
fix: Ensure session respects router scope when using sign_in_route helper (#490)
This commit is contained in:
parent
112b86d30c
commit
e30be539b0
1 changed files with 3 additions and 3 deletions
|
@ -189,9 +189,9 @@ defmodule AshAuthentication.Phoenix.Router do
|
||||||
%{
|
%{
|
||||||
"overrides" => unquote(overrides),
|
"overrides" => unquote(overrides),
|
||||||
"otp_app" => unquote(otp_app),
|
"otp_app" => unquote(otp_app),
|
||||||
"path" => unquote(path),
|
"path" => Phoenix.Router.scoped_path(__MODULE__, unquote(path)),
|
||||||
"reset_path" => unquote(reset_path),
|
"reset_path" => Phoenix.Router.scoped_path(__MODULE__, unquote(reset_path)),
|
||||||
"register_path" => unquote(register_path)
|
"register_path" => Phoenix.Router.scoped_path(__MODULE__, unquote(register_path))
|
||||||
}
|
}
|
||||||
]},
|
]},
|
||||||
on_mount: on_mount
|
on_mount: on_mount
|
||||||
|
|
Loading…
Reference in a new issue