Dev (#2546)
* fix(chalice): fixed Math-operators validation refactor(chalice): search for sessions that have events for heatmaps * refactor(chalice): search for sessions that have at least 1 location event for heatmaps * fix(chalice): fixed Math-operators validation refactor(chalice): search for sessions that have events for heatmaps * refactor(chalice): search for sessions that have at least 1 location event for heatmaps * feat(chalice): autocomplete return top 10 with stats * fix(chalice): fixed autocomplete top 10 meta-filters * fix(chalice): fixed change password for EE
This commit is contained in:
parent
527cf46130
commit
687d12470a
3 changed files with 6 additions and 3 deletions
|
|
@ -154,7 +154,8 @@ def change_client_password(resqponse: JSONResponse, data: schemas.EditUserPasswo
|
|||
r = users.change_password(email=context.email, old_password=data.old_password.get_secret_value(),
|
||||
new_password=data.new_password.get_secret_value(), tenant_id=context.tenant_id,
|
||||
user_id=context.user_id)
|
||||
r = __process_authentication_response(response=resqponse, data=r)
|
||||
if "errors" not in r:
|
||||
r = __process_authentication_response(response=resqponse, data=r)
|
||||
return r
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -530,7 +530,8 @@ def change_password(tenant_id, user_id, email, old_password, new_password):
|
|||
"refreshTokenMaxAge": r.pop("refreshTokenMaxAge"),
|
||||
"spotJwt": r.pop("spotJwt"),
|
||||
"spotRefreshToken": r.pop("spotRefreshToken"),
|
||||
"spotRefreshTokenMaxAge": r.pop("spotRefreshTokenMaxAge")
|
||||
"spotRefreshTokenMaxAge": r.pop("spotRefreshTokenMaxAge"),
|
||||
"tenantId": tenant_id
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -159,7 +159,8 @@ def change_client_password(resqponse: JSONResponse, data: schemas.EditUserPasswo
|
|||
r = users.change_password(email=context.email, old_password=data.old_password.get_secret_value(),
|
||||
new_password=data.new_password.get_secret_value(), tenant_id=context.tenant_id,
|
||||
user_id=context.user_id)
|
||||
r = __process_authentication_response(response=resqponse, data=r)
|
||||
if "errors" not in r:
|
||||
r = __process_authentication_response(response=resqponse, data=r)
|
||||
return r
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue