Add debug after sync group

This commit is contained in:
Benjamin Renard 2014-08-17 20:55:43 +02:00 committed by root
parent 87622d7cd3
commit 7f0735f429

View file

@ -75,6 +75,7 @@ def sync(req):
if 'email' in login_data:
log.debug(u'Login successful : sync 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','*')])
else:
log.debug(u'Login error : return login error')