Client:Pages:PortalSettings: change redirect to tfa activation page

This commit is contained in:
Darya Umrikhina 2024-08-09 14:29:48 +04:00
parent 01248668f0
commit ddcbc85f71

View File

@ -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);