|
|
@ -49,6 +49,7 @@ export default {
|
|
|
|
this.loading = 'logging in';
|
|
|
|
this.loading = 'logging in';
|
|
|
|
matrix.login(this.user, this.password, this.homeServer, (error) => {
|
|
|
|
matrix.login(this.user, this.password, this.homeServer, (error) => {
|
|
|
|
this.loginError = `login failed: ${error}`;
|
|
|
|
this.loginError = `login failed: ${error}`;
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
}, token => {
|
|
|
|
}, token => {
|
|
|
|
this.loading = 'store token';
|
|
|
|
this.loading = 'store token';
|
|
|
|
this.cookie.setCookie({
|
|
|
|
this.cookie.setCookie({
|
|
|
|