Fixed #245: admin menu not showing after login

This commit is contained in:
Eliot Berriot 2018-06-10 14:14:56 +02:00
parent 4c81de9226
commit 9f18b95069
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 9 additions and 6 deletions

View file

@ -79,8 +79,6 @@ export default {
username: this.credentials.username,
password: this.credentials.password
}
// We need to pass the component's this context
// to properly make use of http in the auth service
this.$store.dispatch('auth/login', {
credentials,
next: '/library',