Merge pull request #3356 from expsa/dev_odex25_mobile
Dev odex25 mobile
This commit is contained in:
commit
2daccfdb8b
|
|
@ -35,7 +35,7 @@ class AuthenticationController(http.Controller):
|
|||
|
||||
end_time_pc = time.perf_counter()
|
||||
execution_time_pc = end_time_pc - start_time_pc
|
||||
_logger.info("TIME VALIDATION API: %s seconds", execution_time_pc)
|
||||
_logger.info("TIME VALIDATION API: %s seconds, user id: %s, user name: %s", execution_time_pc, request.env.user.id, request.env.user.name)
|
||||
return http_helper.response(message="uploaded success",data=result['data'])
|
||||
|
||||
@http.route('/rest_api/refresh',type='http', auth='none', csrf=False, cors='*',methods=['POST'])
|
||||
|
|
@ -254,5 +254,5 @@ class AuthenticationController(http.Controller):
|
|||
http_helper.cleanup()
|
||||
end_time_pc = time.perf_counter()
|
||||
execution_time_pc = end_time_pc - start_time_pc
|
||||
_logger.info("TIME LOGIN API: %s seconds", execution_time_pc)
|
||||
_logger.info("TIME LOGIN API: %s seconds, user id: %s, user name: %s", execution_time_pc, user.id, user.name)
|
||||
return http_helper.response(data=dic, message=_("User log in successfully"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue