mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-23 01:16:18 +00:00
Fixed issue when delete an user
This commit is contained in:
parent
aa7939cbc7
commit
672cf0183c
@ -136,7 +136,7 @@ def add_user():
|
|||||||
|
|
||||||
@app.route('/user/del/<uid>')
|
@app.route('/user/del/<uid>')
|
||||||
def del_user(uid):
|
def del_user(uid):
|
||||||
status = UserManager.delete(store, uid)
|
status = UserManager.delete(store, uuid.UUID(uid))
|
||||||
if status == UserManager.SUCCESS:
|
if status == UserManager.SUCCESS:
|
||||||
flash('Deleted user')
|
flash('Deleted user')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user