Merge branch 'nightly' of https://github.com/shuffle/shuffle into nightly
This commit is contained in:
@@ -170,6 +170,9 @@ const LoginDialog = (props) => {
|
|||||||
);
|
);
|
||||||
setMFAField(true);
|
setMFAField(true);
|
||||||
return;
|
return;
|
||||||
|
} else if (responseJson["reason"] === "MFA_SETUP") {
|
||||||
|
window.location.href = `/login/${responseJson.url}/mfa-setup`;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
setLoginInfo("Successful login, rerouting");
|
setLoginInfo("Successful login, rerouting");
|
||||||
|
|||||||
Reference in New Issue
Block a user