Tidy Up
This commit is contained in:
4
index.js
4
index.js
@@ -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="+
|
||||
|
||||
Reference in New Issue
Block a user