Added login, logout and other stuff
This commit is contained in:
parent
f2b7e72021
commit
329648d46d
|
@ -7,12 +7,6 @@ from os import mkdir, rmdir
|
|||
|
||||
settings = {}
|
||||
|
||||
def login(dz, arl):
|
||||
if not dz.logged_in:
|
||||
return dz.login_via_arl(arl)
|
||||
else:
|
||||
return 2
|
||||
|
||||
def getUser(dz):
|
||||
return dz.user
|
||||
|
||||
|
|
Loading…
Reference in New Issue