Browse Source

FIX: Reflected XSS Vulnerability in login after-action script

pull/5482/head
Nikita Tikhomirov 7 years ago
committed by 偏右
parent
commit
840034ca90
  1. 2
      src/models/login.ts

2
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;
}
}

Loading…
Cancel
Save