debug login error

add-admin-interface
adb 4 years ago
parent 9cc93109fc
commit 8ea5c46920

@ -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({

Loading…
Cancel
Save