aboutsummaryrefslogtreecommitdiff
path: root/src/api/identity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/identity.rs')
-rw-r--r--src/api/identity.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/api/identity.rs b/src/api/identity.rs
index 9f3cd1bf..ad51d664 100644
--- a/src/api/identity.rs
+++ b/src/api/identity.rs
@@ -295,7 +295,12 @@ async fn _password_login(
"KdfIterations": user.client_kdf_iter,
"KdfMemory": user.client_kdf_memory,
"KdfParallelism": user.client_kdf_parallelism,
- "ResetMasterPassword": false,// TODO: Same as above
+ "ResetMasterPassword": false, // TODO: Same as above
+ "ForcePasswordReset": false,
+ "MasterPasswordPolicy": {
+ "object": "masterPasswordPolicy",
+ },
+
"scope": scope,
"unofficialServer": true,
"UserDecryptionOptions": {