This commit is contained in:
2022-05-08 00:15:19 +00:00
parent 00d5256f43
commit 49f3d28ae9
3 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
const DEBUG = true;
const DEBUG = false;
var isMobile = false;
const dbp = (msg) => {
@@ -173,7 +173,7 @@ const beginOauth = () => {
$.ajax({
url: "https://tty.hackers.town/auth?act=id"
}).then((data) => {
dbd(table);
dbd(data);
if(data.id){
var redirect = "https://hackers.town/oauth/authorize?"+
"response_type=code&client_id="+data.id+"&redirect_uri="+