Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Frontend
Merge requests
!1691
Something went wrong on our end
User settings form
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
User settings form
user-settings-form
into
master
Overview
13
Commits
5
Pipelines
0
Changes
1
Merged
Valentin Rigal
requested to merge
user-settings-form
into
master
9 months ago
Overview
12
Commits
5
Pipelines
0
Changes
1
Expand
Closes
#1417 (closed)
0
0
Merge request reports
Viewing commit
3e8db122
Show latest version
1 file
+
7
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
3e8db122
Suggestion about hidden token
· 3e8db122
Valentin Rigal
authored
9 months ago
src/components/Auth/Profile/Info.vue
+
7
−
6
Options
@@ -35,21 +35,21 @@
class=
"control is-expanded"
v-if=
"!showToken"
>
<b
<b
utton
type=
"button"
class=
"
input is-clickable
"
class=
"
button
"
v-on:click=
"showToken = true"
title=
"Reveal your personal API access token"
>
D
ISPLAY TOKEN
</b>
D
isplay token
</b
utton
>
</div>
<div
v-else
class=
"is-clickable"
v-on:click=
"copyToken"
>
<div
class=
"input"
title=
"Copy your personal API access token"
>
<div
title=
"Copy your personal API access token"
>
{{
user
.
auth_token
}}
<i
class=
"icon-clipboard"
></i>
</div>
@@ -170,7 +170,8 @@ export default defineComponent({
// Directly re-login user to keep a valid cookie authentication
try
{
await
this
.
login
({
email
:
this
.
user
.
email
,
password
:
this
.
password
})
this
.
notify
({
type
:
'
success
'
,
text
:
'
Your password has been successfully changed.
'
})
this
.
notify
({
type
:
'
success
'
,
text
:
'
Your password has been successfully updated
'
})
this
.
password
=
this
.
confirmPassword
=
''
}
catch
{
this
.
logout
()
}
Loading