mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +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>')
|
||||
def del_user(uid):
|
||||
status = UserManager.delete(store, uid)
|
||||
status = UserManager.delete(store, uuid.UUID(uid))
|
||||
if status == UserManager.SUCCESS:
|
||||
flash('Deleted user')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user