mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-05 14:21:54 +08:00
fix: DISABLE_ADMIN_PASSWORD_CHECK still show admin password modal (#406)
This commit is contained in:
@@ -56,6 +56,9 @@ const getOpenSettings = async (message) => {
|
||||
try {
|
||||
const res = await api.fetch("/open_api/settings");
|
||||
const domainLabels = res["domainLabels"] || [];
|
||||
if (res["domains"]?.length < 1) {
|
||||
message.error("No domains found, please check your worker settings");
|
||||
}
|
||||
Object.assign(openSettings.value, {
|
||||
...res,
|
||||
title: res["title"] || "",
|
||||
|
||||
Reference in New Issue
Block a user