mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: avoid send innecesary pwd param in tokens payload
This commit is contained in:
@@ -61,7 +61,6 @@ class PmsLoginService(Component):
|
|||||||
"iss": "pms",
|
"iss": "pms",
|
||||||
"exp": timestamp_expire_in_a_min,
|
"exp": timestamp_expire_in_a_min,
|
||||||
"username": user.username,
|
"username": user.username,
|
||||||
"password": user.password,
|
|
||||||
},
|
},
|
||||||
key=validator.secret_key,
|
key=validator.secret_key,
|
||||||
algorithm=validator.secret_algorithm,
|
algorithm=validator.secret_algorithm,
|
||||||
|
|||||||
Reference in New Issue
Block a user