Skip to content

Commit

Permalink
fix: ExpTech login
Browse files Browse the repository at this point in the history
  • Loading branch information
yayacat committed May 3, 2024
1 parent f2cdcc5 commit e0148e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/require.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { BrowserWindow, app, ipcMain, shell } = require("@electron/remote");
const fetch = require("node-fetch");
const os = require("node:os");
const fs = require("fs");
const { ipcRenderer } = require("electron");
const path = require("path");
Expand Down
1 change: 1 addition & 0 deletions src/core/setting/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ login_display();
function login_display(){
user_email.disabled = storage.getItem("key") ? true : false;
user_pass.disabled = storage.getItem("key") ? true : false;
user_pass.value = storage.getItem("key") ? "" : "";

login_btn.style.display = storage.getItem("key") ? "none" : "";
logout_btn.style.display = storage.getItem("key") ? "" : "none";
Expand Down

0 comments on commit e0148e9

Please sign in to comment.