diff --git a/server/dl_lib/libkvm.so b/server/dl_lib/libkvm.so index 08184a0..a79e1d9 100644 Binary files a/server/dl_lib/libkvm.so and b/server/dl_lib/libkvm.so differ diff --git a/server/dl_lib/libkvm_mmf.so b/server/dl_lib/libkvm_mmf.so index 0a4d93d..992c7ab 100644 Binary files a/server/dl_lib/libkvm_mmf.so and b/server/dl_lib/libkvm_mmf.so differ diff --git a/server/service/auth/password.go b/server/service/auth/password.go index 16b6202..22c6016 100644 --- a/server/service/auth/password.go +++ b/server/service/auth/password.go @@ -3,6 +3,7 @@ package auth import ( "NanoKVM-Server/proto" "NanoKVM-Server/utils" + "errors" "io" "os" "os/exec" @@ -72,7 +73,7 @@ func (s *Service) IsPasswordUpdated(c *gin.Context) { rsp.OkRspWithData(c, &proto.IsPasswordUpdatedRsp{ // If the hash is not valid, still assume it's not updated // The error we want to see is password and hash not matching - IsUpdated: err == bcrypt.ErrMismatchedHashAndPassword, + IsUpdated: errors.Is(err, bcrypt.ErrMismatchedHashAndPassword), }) } diff --git a/web/src/i18n/locales/ko.ts b/web/src/i18n/locales/ko.ts index ce4bdd2..d4f8805 100644 --- a/web/src/i18n/locales/ko.ts +++ b/web/src/i18n/locales/ko.ts @@ -14,7 +14,8 @@ const ko = { placeholderPassword2: '비밀번호를 다시 입력하세요.', noEmptyUsername: '사용자 이름은 비어있을 수 없습니다.', noEmptyPassword: '비밀번호는 비어있을 수 없습니다.', - noAccount: '사용자 정보를 불러오는 데 실패했습니다. 페이지를 새로고침하거나 비밀번호를 초기화하세요.', + noAccount: + '사용자 정보를 불러오는 데 실패했습니다. 페이지를 새로고침하거나 비밀번호를 초기화하세요.', invalidUser: '사용자 이름이나 비밀번호가 틀렸습니다.', error: '알 수 없는 오류', changePassword: '비밀번호 변경', @@ -27,8 +28,7 @@ const ko = { cancel: '취소', loginButtonText: '로그인', tips: { - reset1: - '비밀번호를 재설정하려면 NanoKVM의 BOOT 버튼을 10초 동안 누르고 계세요.', + reset1: '비밀번호를 재설정하려면 NanoKVM의 BOOT 버튼을 10초 동안 누르고 계세요.', reset2: '자세한 절차는 이 문서를 참조하세요:', reset3: '웹 기본 계정:', reset4: 'SSH 기본 계정:', @@ -222,8 +222,7 @@ const ko = { upTailscale: 'tailscale을 NanoKVM 의 다음 경로에 업로드 했습니다. : /usr/bin/', upTailscaled: 'tailscaled을 NanoKVM 의 다음 경로에 업로드 했습니다. : /usr/sbin/', refresh: '현재 페이지 새로고침', - notLogin: - '이 기기는 현재 연동 되지 않았습니다. 로그인해서 계정에 이 장치를 연동하세요.', + notLogin: '이 기기는 현재 연동 되지 않았습니다. 로그인해서 계정에 이 장치를 연동하세요.', urlPeriod: '이 주소는 10분간 유효합니다.', login: '로그인', loginSuccess: '로그인 성공', @@ -233,7 +232,7 @@ const ko = { account: '계정', logout: '로그아웃', logout2: '정말로 로그아웃 합니까?', - uninstall: 'Tailscale 제거' + uninstall: 'Tailscale 제거', okBtn: '예', cancelBtn: '아니오' }, diff --git a/web/src/pages/desktop/menu/settings/update/index.tsx b/web/src/pages/desktop/menu/settings/update/index.tsx index da6d9c1..0e92931 100644 --- a/web/src/pages/desktop/menu/settings/update/index.tsx +++ b/web/src/pages/desktop/menu/settings/update/index.tsx @@ -68,7 +68,7 @@ export const Update = ({ setIsLocked }: UpdateProps) => { setErrMsg(''); window.location.reload(); - }, 6000); + }, 10000); }); }