Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mc-release-admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
青鸟
mc-release-admin
Commits
b136e100
Commit
b136e100
authored
Sep 28, 2021
by
bluebird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete password and change to route
parent
33969ba9
Pipeline
#5904
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
components/LoginForm.vue
components/LoginForm.vue
+2
-2
pages/app/_id.vue
pages/app/_id.vue
+1
-1
pages/index.vue
pages/index.vue
+1
-1
pages/manager.vue
pages/manager.vue
+1
-1
pages/version/_id.vue
pages/version/_id.vue
+1
-1
No files found.
components/LoginForm.vue
View file @
b136e100
...
...
@@ -33,8 +33,8 @@ export default Vue.extend({
data
()
{
return
{
form
:
{
username
:
'
bluebirdsecuri@gmail.com
'
,
password
:
'
C6dD$stndv&peG
'
username
:
''
,
password
:
''
},
show
:
false
,
msg
:
''
...
...
pages/app/_id.vue
View file @
b136e100
...
...
@@ -27,7 +27,7 @@ export default Vue.extend({
mounted
()
{
const
token
=
this
.
$cookies
.
get
(
'
Token
'
)
if
(
token
==
null
)
{
window
.
location
.
href
=
'
/login
'
this
.
$route
.
push
(
'
/login
'
)
return
}
this
.
$axios
.
defaults
.
headers
.
common
.
Authorization
=
`Bearer
${
token
}
`
...
...
pages/index.vue
View file @
b136e100
...
...
@@ -5,7 +5,7 @@ import Vue from 'vue'
export
default
Vue
.
extend
(
{
mounted () {
window.location.href = '/manager'
this.$route.push('/manager')
}
})
</script>
pages/manager.vue
View file @
b136e100
...
...
@@ -36,7 +36,7 @@ export default Vue.extend({
mounted
()
{
const
token
=
this
.
$cookies
.
get
(
'
Token
'
)
if
(
token
==
null
)
{
window
.
location
.
href
=
'
/login
'
this
.
$route
.
push
(
'
/login
'
)
return
}
this
.
$axios
.
defaults
.
headers
.
common
.
Authorization
=
`Bearer
${
token
}
`
...
...
pages/version/_id.vue
View file @
b136e100
...
...
@@ -73,7 +73,7 @@ export default {
mounted
()
{
const
token
=
this
.
$cookies
.
get
(
'
Token
'
)
if
(
token
==
null
)
{
window
.
location
.
href
=
'
/login
'
this
.
$route
.
push
(
'
/login
'
)
return
}
this
.
$axios
.
defaults
.
headers
.
common
.
Authorization
=
`Bearer
${
token
}
`
...
...
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