Fix25.1: стабилизирован auth_id flow и unlimited-семантика, усилен bootstrap secrets

This commit is contained in:
2026-05-09 00:45:20 +05:00
parent d73bab99ec
commit 7a64d76d08
4 changed files with 83 additions and 26 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ const dialog = reactive({ visible: false, title: "", editId: 0 });
const dataForm = reactive<PeerSaveDto & { id?: number }>({
name: "",
secret: "",
quotaBytes: 0,
quotaBytes: -1,
expiresAt: getMonthLater(),
maxDevices: 3,
disabled: 0,
@@ -123,7 +123,7 @@ async function handleQuery() {
}
function handleAdd() {
Object.assign(dataForm, { id: undefined, name: "", secret: "", quotaBytes: 0, expiresAt: getMonthLater(), maxDevices: 3, disabled: 0, remark: "" });
Object.assign(dataForm, { id: undefined, name: "", secret: "", quotaBytes: -1, expiresAt: getMonthLater(), maxDevices: 3, disabled: 0, remark: "" });
dialog.title = t("common.add");
dialog.editId = 0;
dialog.visible = true;