mirror of
https://github.com/usememos/memos.git
synced 2025-02-15 19:00:46 +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.
|
// Version is the service current released version.
|
||||||
// Semantic versioning: https://semver.org/
|
// Semantic versioning: https://semver.org/
|
||||||
var Version = "0.11.0"
|
var Version = "0.11.1"
|
||||||
|
|
||||||
// DevVersion is the service current development version.
|
// DevVersion is the service current development version.
|
||||||
var DevVersion = "0.11.0"
|
var DevVersion = "0.11.1"
|
||||||
|
|
||||||
func GetCurrentVersion(mode string) string {
|
func GetCurrentVersion(mode string) string {
|
||||||
if mode == "dev" || mode == "demo" {
|
if mode == "dev" || mode == "demo" {
|
||||||
|
@ -93,12 +93,6 @@ const Auth = () => {
|
|||||||
actionBtnLoadingState.setFinish();
|
actionBtnLoadingState.setFinish();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSignInKeyUp = (e: React.KeyboardEvent) => {
|
|
||||||
if (e.key === "Enter") {
|
|
||||||
handleSignInBtnClick();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleSignInWithIdentityProvider = async (identityProvider: IdentityProvider) => {
|
const handleSignInWithIdentityProvider = async (identityProvider: IdentityProvider) => {
|
||||||
const stateQueryParameter = `auth.signin.${identityProvider.name}-${identityProvider.id}`;
|
const stateQueryParameter = `auth.signin.${identityProvider.name}-${identityProvider.id}`;
|
||||||
if (identityProvider.type === "OAUTH2") {
|
if (identityProvider.type === "OAUTH2") {
|
||||||
@ -131,14 +125,7 @@ const Auth = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="form-item-container input-form-container">
|
<div className="form-item-container input-form-container">
|
||||||
<span className={`normal-text ${password ? "not-null" : ""}`}>{t("common.password")}</span>
|
<span className={`normal-text ${password ? "not-null" : ""}`}>{t("common.password")}</span>
|
||||||
<input
|
<input className="input-text" type="password" value={password} onChange={handlePasswordInputChanged} required />
|
||||||
className="input-text"
|
|
||||||
type="password"
|
|
||||||
value={password}
|
|
||||||
onChange={handlePasswordInputChanged}
|
|
||||||
onKeyUp={handleSignInKeyUp}
|
|
||||||
required
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="action-btns-container">
|
<div className="action-btns-container">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user