removed empty function
This commit is contained in:
parent
4030454fa5
commit
af2fd682da
6
app.py
6
app.py
|
@ -66,7 +66,7 @@ def logged_in():
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# do actual authentication against Mail-in-a-box
|
# do actual authentication against miab
|
||||||
def miab_auth(username, password):
|
def miab_auth(username, password):
|
||||||
#authenticate against miab api
|
#authenticate against miab api
|
||||||
a = requests.get(miab_url + "/mail/users", auth=(username, password))
|
a = requests.get(miab_url + "/mail/users", auth=(username, password))
|
||||||
|
@ -78,10 +78,6 @@ def miab_auth(username, password):
|
||||||
#or False
|
#or False
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# change password for Mail-in-a-box
|
|
||||||
def miab_password(username, password):
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
# routing
|
# routing
|
||||||
|
|
||||||
|
|
Reference in New Issue