feat: Add configurable password change toggle via system.allow_change_password (#1869)

* Initial plan

* Add password change toggle feature with config flag

Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>

* Feature implementation complete and validated

Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>

* chore: remove lock

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
Co-authored-by: Junyan Qin <rockchinq@gmail.com>
This commit is contained in:
Copilot
2025-12-18 15:14:03 +08:00
committed by GitHub
parent 16c1e9edd1
commit ae772074a1
6 changed files with 32 additions and 17 deletions
+1
View File
@@ -235,6 +235,7 @@ export interface ApiRespSystemInfo {
version: string;
cloud_service_url: string;
enable_marketplace: boolean;
allow_change_password: boolean;
}
export interface ApiRespPluginSystemStatus {
+1
View File
@@ -8,6 +8,7 @@ export let systemInfo: ApiRespSystemInfo = {
version: '',
enable_marketplace: true,
cloud_service_url: '',
allow_change_password: true,
};
/**