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

This commit is contained in:
boojack 2023-03-04 18:49:50 +08:00 committed by GitHub
parent b70117e9f4
commit e150599274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 16 deletions

View File

@ -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" {

View File

@ -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">