allow user to choose whether to send base credentials at approval screen

This commit is contained in:
2024-01-10 16:31:16 -08:00
parent dd40eb379e
commit 46b8d810c5
10 changed files with 32 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ use tauri::api::dialog::{
MessageDialogBuilder,
MessageDialogKind,
};
use tokio::sync::oneshot::error::RecvError;
use serde::{
Serialize,
Serializer,
@@ -164,7 +165,7 @@ pub enum HandlerError {
#[error("HTTP request too large")]
RequestTooLarge,
#[error("Internal server error")]
Internal,
Internal(#[from] RecvError),
#[error("Error accessing credentials: {0}")]
NoCredentials(#[from] GetCredentialsError),
#[error("Error getting client details: {0}")]