Fix redirectUrl if mounted at root
This commit is contained in:
parent
4bd2ec87cc
commit
7cf9055889
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const ResetPasswordView: React.FC = () => {
|
||||||
email: data.email,
|
email: data.email,
|
||||||
redirectUrl: urlJoin(
|
redirectUrl: urlJoin(
|
||||||
window.location.origin,
|
window.location.origin,
|
||||||
APP_MOUNT_URI,
|
APP_MOUNT_URI === "/" ? "" : APP_MOUNT_URI,
|
||||||
newPasswordUrl().replace(/\?/, "")
|
newPasswordUrl().replace(/\?/, "")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue