mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
fix: Ensure client IP is logged in all registration alert paths
This commit is contained in:
2 files changed
+22
-6
No files matched your search
@@ -151,7 +151,10 @@ pub(crate) async fn register_route(
|
||||
display name \"{device_name}\" via legacy registration",
|
||||
)
|
||||
} else {
|
||||
format!("New user \"{user_id}\" registered on this server via legacy registration.")
|
||||
format!(
|
||||
"New user \"{user_id}\" registered on this server from IP {client} via legacy \
|
||||
registration."
|
||||
)
|
||||
};
|
||||
info!("{notice}");
|
||||
if services.server.config.admin_room_notices {
|
||||
|
||||
Reference in new issue
Block a user