register users

This commit is contained in:
2025-07-16 18:37:26 +02:00
parent 990f196984
commit be362326aa
48 changed files with 1002 additions and 64 deletions

View File

@@ -1,9 +1,10 @@
use crate::domain::warren::{
models::{
file::{File, FilePath},
user::User,
warren::Warren,
},
ports::{FileSystemNotifier, WarrenNotifier},
ports::{AuthNotifier, FileSystemNotifier, WarrenNotifier},
};
#[derive(Debug, Clone, Copy)]
@@ -112,3 +113,9 @@ impl FileSystemNotifier for NotifierDebugLogger {
tracing::debug!("[Notifier] Renamed file {} to {}", old_path, new_path);
}
}
impl AuthNotifier for NotifierDebugLogger {
async fn user_registered(&self, user: &User) {
tracing::debug!("[Notifier] Registered user {}", user.name());
}
}