username change admin center

This commit is contained in:
k
2026-09-22 08:39:44 +02:00
parent e9695c0239
commit c9e53193b9
9 changed files with 80 additions and 12 deletions
+5
View File
@@ -399,6 +399,11 @@ export function isReportsEnabled(): boolean {
return getSetting("reports_enabled", "1") === "1";
}
/** Admin kill-switch for self-service username changes (default on; admins bypass). */
export function isUsernameChangeEnabled(): boolean {
return getSetting("username_change_enabled", "1") === "1";
}
// --- public shares ---
export function ensureShare(convId: string): string {