mirror of
https://github.com/koush/scrypted.git
synced 2026-09-19 18:20:40 +01:00
client: fix cloud/local login redirect flow
This commit is contained in:
@@ -51,7 +51,9 @@ Vue.use(Vue => {
|
||||
return checkScryptedClientLogin()
|
||||
.then(response => {
|
||||
if (response.redirect) {
|
||||
redirectScryptedLogin();
|
||||
redirectScryptedLogin({
|
||||
redirect: response.redirect,
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (!response.expiration) {
|
||||
|
||||
Reference in New Issue
Block a user