Add debug after sync group
This commit is contained in:
parent
87622d7cd3
commit
7f0735f429
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ def sync(req):
|
||||||
if 'email' in login_data:
|
if 'email' in login_data:
|
||||||
log.debug(u'Login successful : sync groups')
|
log.debug(u'Login successful : sync groups')
|
||||||
ret=req.ctx.db.sync_group(data['email'],data['groups'])
|
ret=req.ctx.db.sync_group(data['email'],data['groups'])
|
||||||
|
log.debug("After sync : %s" % ret)
|
||||||
return wsgi_helpers.respond_json(req.ctx,ret,headers=[('Access-Control-Allow-Origin','*')])
|
return wsgi_helpers.respond_json(req.ctx,ret,headers=[('Access-Control-Allow-Origin','*')])
|
||||||
else:
|
else:
|
||||||
log.debug(u'Login error : return login error')
|
log.debug(u'Login error : return login error')
|
||||||
|
|
Loading…
Reference in a new issue