Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: upgrade version to `v0.11.1` (#1247)

boojacke150599274de
diff --git a/server/version/version.go b/server/version/version.go
index 68c0edd6a..0e63c1b2f 100644
--- a/server/version/version.go
+++ b/server/version/version.go
@@ -9,10 +9,10 @@ import (
// Version is the service current released version.
// Semantic versioning: https://semver.org/
-var Version = "0.11.0"
+var Version = "0.11.1"
// DevVersion is the service current development version.
-var DevVersion = "0.11.0"
+var DevVersion = "0.11.1"
func GetCurrentVersion(mode string) string {
if mode == "dev" || mode == "demo" {
diff --git a/web/src/pages/Auth.tsx b/web/src/pages/Auth.tsx
index 979cb0c90..ca53e9d54 100644
--- a/web/src/pages/Auth.tsx
+++ b/web/src/pages/Auth.tsx
@@ -93,12 +93,6 @@ const Auth = () => {
actionBtnLoadingState.setFinish();
};
- const handleSignInKeyUp = (e: React.KeyboardEvent) => {
- if (e.key === "Enter") {
- handleSignInBtnClick();
- }
- };
-
const handleSignInWithIdentityProvider = async (identityProvider: IdentityProvider) => {
const stateQueryParameter = `auth.signin.${identityProvider.name}-${identityProvider.id}`;
if (identityProvider.type === "OAUTH2") {
@@ -131,14 +125,7 @@ const Auth = () => {
</div>
<div className="form-item-container input-form-container">
<span className={`normal-text ${password ? "not-null" : ""}`}>{t("common.password")}</span>
- <input
- className="input-text"
- type="password"
- value={password}
- onChange={handlePasswordInputChanged}
- onKeyUp={handleSignInKeyUp}
- required
- />
+ <input className="input-text" type="password" value={password} onChange={handlePasswordInputChanged} required />
</div>
</div>
<div className="action-btns-container">