diff --git a/libs/git/ssh/authz.rs b/libs/git/ssh/authz.rs
index c137ea6..62d28d4 100644
--- a/libs/git/ssh/authz.rs
+++ b/libs/git/ssh/authz.rs
@@ -14,6 +14,12 @@ pub struct SshAuthService {
db: AppDatabase,
}
+pub struct SshKeyUser {
+ pub user: user::Model,
+ pub key_id: i64,
+ pub key_title: String,
+}
+
impl SshAuthService {
pub fn new(db: AppDatabase) -> Self {
Self { db }
@@ -97,7 +103,7 @@ impl SshAuthService {
pub async fn find_user_by_public_key(
&self,
public_key_str: &str,
- ) -> Result