|
@@ -89,7 +89,6 @@ new Vue({
|
|
|
const authHeaders = new Headers();
|
|
|
authHeaders.set('Authorization',
|
|
|
'Basic ' + window.btoa(this.username + ":" + this.password));
|
|
|
- console.log(authHeaders.get("Authorization"));
|
|
|
return authHeaders;
|
|
|
},
|
|
|
url: function (name) {
|
|
@@ -146,7 +145,6 @@ new Vue({
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- console.log("Sock:auth", this.username, this.password)
|
|
|
this.get('/authenticate')
|
|
|
.then((response) => {
|
|
|
this.authenticated = (response.status === 200);
|