df
This commit is contained in:
parent
14a01b91ee
commit
8a3dd7aa29
1 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ def admin_app_approve(v, aid):
|
|||
def admin_app_revoke(v, aid):
|
||||
|
||||
app = g.db.query(OauthApp).filter_by(id=aid).first()
|
||||
|
||||
if app.id:
|
||||
for auth in g.db.query(ClientAuth).filter_by(oauth_client=app.id).all(): g.db.delete(auth)
|
||||
|
||||
g.db.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue