client: fix cloud/local login redirect flow

This commit is contained in:
Koushik Dutta
2022-09-13 21:35:27 -07:00
parent a03a6c698e
commit 00611c691f

View File

@@ -51,7 +51,9 @@ Vue.use(Vue => {
return checkScryptedClientLogin()
.then(response => {
if (response.redirect) {
redirectScryptedLogin();
redirectScryptedLogin({
redirect: response.redirect,
});
return;
}
if (!response.expiration) {