Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
292b1952
Commit
292b1952
authored
Jun 01, 2020
by
les
Browse files
upgrade deps
parent
5cbc45a9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
nuxt.config.js
View file @
292b1952
...
...
@@ -74,9 +74,6 @@ module.exports = {
maxAge
:
60
*
60
*
24
*
30
*
12
*
5
}
},
redirect
:
{
login
:
'
../login
'
},
strategies
:
{
local
:
{
endpoints
:
{
...
...
package.json
View file @
292b1952
...
...
@@ -62,12 +62,12 @@
"
body-parser
"
:
"
^1.18.3
"
,
"
bootstrap
"
:
"
^4.5.0
"
,
"
config
"
:
"
^3.3.1
"
,
"
consola
"
:
"
^2.12.
1
"
,
"
consola
"
:
"
^2.12.
2
"
,
"
cookie-parser
"
:
"
^1.4.5
"
,
"
cors
"
:
"
^2.8.5
"
,
"
cross-env
"
:
"
^7.0.2
"
,
"
date-fns
"
:
"
^2.14.0
"
,
"
dayjs
"
:
"
^1.8.2
7
"
,
"
dayjs
"
:
"
^1.8.2
8
"
,
"
dompurify
"
:
"
^2.0.11
"
,
"
element-ui
"
:
"
^2.13.2
"
,
"
email-templates
"
:
"
^7.0.5
"
,
...
...
@@ -78,7 +78,7 @@
"
inquirer
"
:
"
^7.1.0
"
,
"
jsdom
"
:
"
^16.2.2
"
,
"
jsonwebtoken
"
:
"
^8.5.1
"
,
"
less
"
:
"
^3.11.
1
"
,
"
less
"
:
"
^3.11.
2
"
,
"
linkifyjs
"
:
"
^2.1.9
"
,
"
lodash
"
:
"
^4.17.14
"
,
"
mkdirp
"
:
"
^1.0.4
"
,
...
...
@@ -89,7 +89,7 @@
"
nuxt
"
:
"
^2.12.2
"
,
"
nuxt-express-module
"
:
"
^0.0.11
"
,
"
pg
"
:
"
^8.2.1
"
,
"
sequelize
"
:
"
^5.21.1
0
"
,
"
sequelize
"
:
"
^5.21.1
1
"
,
"
sequelize-cli
"
:
"
^5.5.1
"
,
"
sharp
"
:
"
^0.25.3
"
,
"
sqlite3
"
:
"
^4.2.0
"
,
...
...
@@ -99,27 +99,27 @@
"
v-calendar
"
:
"
^1.0.6
"
,
"
vue-awesome
"
:
"
^4.0.0
"
,
"
vue-clipboard2
"
:
"
^0.3.1
"
,
"
vue-i18n
"
:
"
^8.1
7.7
"
,
"
vue-i18n
"
:
"
^8.1
8.1
"
,
"
yargs
"
:
"
^15.3.1
"
},
"devDependencies"
:
{
"
@nuxtjs/eslint-config
"
:
"
^
2
.0.
2
"
,
"
@nuxtjs/eslint-config
"
:
"
^
3
.0.
0
"
,
"
babel-eslint
"
:
"
^10.1.0
"
,
"
eslint
"
:
"
^
6.8
.0
"
,
"
eslint-config-prettier
"
:
"
^6.1
0.1
"
,
"
eslint
"
:
"
^
7.1
.0
"
,
"
eslint-config-prettier
"
:
"
^6.1
1.0
"
,
"
eslint-config-standard
"
:
"
>=14.1.1
"
,
"
eslint-loader
"
:
"
^
3
.0.
3
"
,
"
eslint-loader
"
:
"
^
4
.0.
2
"
,
"
eslint-plugin-import
"
:
"
>=2.20.2
"
,
"
eslint-plugin-jest
"
:
"
>=
23.
8
.2
"
,
"
eslint-plugin-jest
"
:
"
^
23.
13
.2
"
,
"
eslint-plugin-node
"
:
"
>=11.1.0
"
,
"
eslint-plugin-nuxt
"
:
"
>=0.5.2
"
,
"
eslint-plugin-prettier
"
:
"
^3.1.
2
"
,
"
eslint-plugin-nuxt
"
:
"
^1.0.0
"
,
"
eslint-plugin-prettier
"
:
"
^3.1.
3
"
,
"
eslint-plugin-promise
"
:
"
>=4.0.1
"
,
"
eslint-plugin-standard
"
:
"
>=4.0.1
"
,
"
eslint-plugin-vue
"
:
"
^6.2.2
"
,
"
less-loader
"
:
"
^
5.0
.0
"
,
"
nodemon
"
:
"
^2.0.
2
"
,
"
prettier
"
:
"
^2.0.
2
"
,
"
less-loader
"
:
"
^
6.1
.0
"
,
"
nodemon
"
:
"
^2.0.
4
"
,
"
prettier
"
:
"
^2.0.
5
"
,
"
pug-plain-loader
"
:
"
^1.0.0
"
,
"
webpack-cli
"
:
"
^3.3.11
"
}
...
...
pages/user_confirm/_code.vue
View file @
292b1952
...
...
@@ -17,9 +17,6 @@ import { Message } from 'element-ui'
export
default
{
name
:
'
Recover
'
,
data
()
{
return
{
new_password
:
''
}
},
async
asyncData
({
params
,
$axios
})
{
const
code
=
params
.
code
try
{
...
...
@@ -29,10 +26,13 @@ export default {
return
{
valid
:
false
}
}
},
data
()
{
return
{
new_password
:
''
}
},
methods
:
{
async
change_password
()
{
try
{
const
res
=
await
this
.
$axios
.
$post
(
'
/user/recover_password
'
,
{
recover_code
:
this
.
code
,
password
:
this
.
new_password
})
await
this
.
$axios
.
$post
(
'
/user/recover_password
'
,
{
recover_code
:
this
.
code
,
password
:
this
.
new_password
})
Message
({
showClose
:
true
,
type
:
'
success
'
,
...
...
pages/user_confirm_pwd/_code.vue
View file @
292b1952
...
...
@@ -18,9 +18,6 @@ import { Message } from 'element-ui'
export
default
{
name
:
'
Recover
'
,
data
()
{
return
{
new_password
:
''
}
},
async
asyncData
({
params
,
$axios
})
{
const
code
=
params
.
code
try
{
...
...
@@ -30,10 +27,13 @@ export default {
return
{
valid
:
false
}
}
},
data
()
{
return
{
new_password
:
''
}
},
methods
:
{
async
change_password
()
{
try
{
const
res
=
await
this
.
$axios
.
$post
(
'
/user/recover_password
'
,
{
recover_code
:
this
.
code
,
password
:
this
.
new_password
})
await
this
.
$axios
.
$post
(
'
/user/recover_password
'
,
{
recover_code
:
this
.
code
,
password
:
this
.
new_password
})
Message
({
showClose
:
true
,
type
:
'
success
'
,
...
...
yarn.lock
View file @
292b1952
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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