diff --git a/src/models/login.ts b/src/models/login.ts index 740c8d68..656902df 100644 --- a/src/models/login.ts +++ b/src/models/login.ts @@ -53,7 +53,7 @@ const Model: LoginModelType = { redirect = redirect.substr(redirect.indexOf('#') + 1); } } else { - window.location.href = redirect; + window.location.href = '/'; return; } }