Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
e1505992
Unverified
Commit
e1505992
authored
Mar 04, 2023
by
boojack
Committed by
GitHub
Mar 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: upgrade version to `v0.11.1` (#1247)
parent
b70117e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
version.go
server/version/version.go
+2
-2
Auth.tsx
web/src/pages/Auth.tsx
+1
-14
No files found.
server/version/version.go
View file @
e1505992
...
...
@@ -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"
{
...
...
web/src/pages/Auth.tsx
View file @
e1505992
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment