Browse Source

steam auth 7

master
gsd 2 years ago
parent
commit
d49191972d
  1. 2
      src/main/java/app/controllers/auth/AuthDiscordController.java

2
src/main/java/app/controllers/auth/AuthDiscordController.java

@ -79,7 +79,7 @@ public class AuthDiscordController {
<body>
<script type="text/javascript">
if(window.location.hash) {
let url = window.location.origin + window.location.pathname + "?" + window.location.hash.substring(1);
let url = window.location.origin + window.location.pathname + "?" + window.location.hash.substring(1) + "&rnd=(Math.random() + 1).toString(36)";
window.location.replace(url);
} else {
alert("discord auth failed");

Loading…
Cancel
Save