Client:Pages:PortalSettings: change redirect to tfa activation page
This commit is contained in:
parent
01248668f0
commit
ddcbc85f71
@ -150,7 +150,7 @@ const TwoFactorAuth = (props) => {
|
||||
|
||||
if (res) {
|
||||
setIsInit(false);
|
||||
navigate(res.replace(window.location.origin, ""));
|
||||
if (res) window.location.replace(res);
|
||||
}
|
||||
} catch (error) {
|
||||
toastr.error(error);
|
||||
|
Loading…
Reference in New Issue
Block a user