added server-wide ARL
gets enabled only if --serverwide-arl is in the server arguments
This commit is contained in:
parent
7407a28f67
commit
b40b56ad0d
@ -73,6 +73,13 @@ socket.on('logged_out', function () {
|
||||
$('#settings_picture').attr('src', `https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg`)
|
||||
})
|
||||
|
||||
socket.on('init_serverwideARL', function(arl){
|
||||
if (localStorage.getItem('arl') === null) {
|
||||
socket.emit('login', arl)
|
||||
$('#login_input_arl').val(arl)
|
||||
}
|
||||
})
|
||||
|
||||
/* ===== App initialization ===== */
|
||||
function startApp() {
|
||||
Downloads.init()
|
||||
|
Loading…
Reference in New Issue
Block a user