Client:Pages:PortalSettings: remove unnecessary results checking
This commit is contained in:
parent
eb31dd5fc0
commit
488d388ece
@ -150,7 +150,7 @@ const TwoFactorAuth = (props) => {
|
||||
|
||||
if (res) {
|
||||
setIsInit(false);
|
||||
if (res) window.location.replace(res);
|
||||
window.location.replace(res);
|
||||
}
|
||||
} catch (error) {
|
||||
toastr.error(error);
|
||||
|
Loading…
Reference in New Issue
Block a user