commit
e808df0285
@ -28,10 +28,17 @@ before_script:
|
||||
# - node_modules/
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
lint:
|
||||
stage: lint
|
||||
script:
|
||||
- yarn
|
||||
- npm run lint
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
|
@ -9,7 +9,7 @@ const LoginForm = {
|
||||
methods: {
|
||||
submit () {
|
||||
this.$store.dispatch('loginUser', this.user).then(
|
||||
() => { this.$router.push('/main/friends')},
|
||||
() => {},
|
||||
(error) => {
|
||||
this.authError = error
|
||||
this.user.username = ''
|
||||
|
Loading…
Reference in New Issue
Block a user