Fix the redirection pre-setup
This commit is contained in:
@@ -573,6 +573,11 @@ function redirectIfNeeded(status, currentView) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (currentView !== 'setup' && currentView !== 'restore') {
|
||||
window.location.href = '/setup.html' + window.location.search;
|
||||
return true;
|
||||
}
|
||||
|
||||
// if we are here, proceed with current view
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user