mirror of
https://github.com/usememos/memos.git
synced 2025-02-15 10:50:47 +01:00
chore: upgrade version to v0.11.1
(#1247)
This commit is contained in:
parent
b70117e9f4
commit
e150599274
@ -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" {
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user