added kadis login
This commit is contained in:
@ -120,8 +120,11 @@
|
||||
// dangerMode: true,
|
||||
})
|
||||
delay(1500)
|
||||
window.location.replace(server_url + "admin")
|
||||
if(response.level == 1) return window.location.replace(server_url + "admin");
|
||||
if(response.level == 2) return window.location.replace(server_url + "kepaladinas");
|
||||
|
||||
// console.log(response)
|
||||
|
||||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||
$.unblockUI();
|
||||
|
||||
Reference in New Issue
Block a user