Authentication flow improvements

This commit is contained in:
mdecimus
2024-06-29 13:11:41 +02:00
parent d8a73cd0e4
commit 4e9b43b26d
13 changed files with 334 additions and 125 deletions

View File

@@ -67,7 +67,7 @@ pub async fn test(params: &mut JMAPTest) {
};
assert_eq!(
api.post::<u32>("/api/crypto", &request)
api.post::<u32>("/api/account/crypto", &request)
.await
.unwrap()
.unwrap_data(),
@@ -118,7 +118,7 @@ pub async fn test(params: &mut JMAPTest) {
// Disable encryption
assert_eq!(
api.post::<Option<String>>("/api/crypto", &EncryptionType::Disabled)
api.post::<Option<String>>("/api/account/crypto", &EncryptionType::Disabled)
.await
.unwrap()
.unwrap_data(),