From 3978e74a389154cfffae31e8fc23d43570b44a07 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 14 Jun 2023 06:41:12 -0900 Subject: [PATCH] wrote some comment lines describing the rescue code --- citadel/server/user_ops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/citadel/server/user_ops.c b/citadel/server/user_ops.c index 55cbf574a..f9a7f7146 100644 --- a/citadel/server/user_ops.c +++ b/citadel/server/user_ops.c @@ -1139,7 +1139,9 @@ int InitialMailCheck() { } -// Undocumented rescue mode +// This is an undocumented rescue mode that can be used to rewrite an admin user account that has been corrupted. +// To prevent abuse, it can only run as a one-shot when the server is not otherwise operational. +// Don't use this without asking about it. void undocumented_rescue_mode(char *rescue_string) { struct ctdluser usbuf; memset(&usbuf, 0, sizeof(struct ctdluser)); -- 2.39.2