Update CSS and JS libs.

This commit is contained in:
James Cole
2018-08-25 07:56:10 +02:00
parent dfdbace298
commit 88bab888d8
38 changed files with 16292 additions and 757 deletions

View File

@@ -288,7 +288,7 @@
*/
store() {
this.persistClient(
'post', './oauth/clients' + '?_token=' + window.Laravel,
'post', './oauth/clients' + '?_token=' + document.head.querySelector('meta[name="csrf-token"]').content,
this.createForm, '#modal-create-client'
);
},
@@ -309,7 +309,7 @@
*/
update() {
this.persistClient(
'put', './oauth/clients/' + this.editForm.id + '?_token=' + window.Laravel,
'put', './oauth/clients/' + this.editForm.id + '?_token=' + document.head.querySelector('meta[name="csrf-token"]').content,
this.editForm, '#modal-edit-client'
);
},

View File

@@ -238,7 +238,7 @@
this.form.errors = [];
axios.post('./oauth/personal-access-tokens?_token=' + window.Laravel, this.form)
axios.post('./oauth/personal-access-tokens?_token=' + document.head.querySelector('meta[name="csrf-token"]').content, this.form)
.then(response => {
this.form.name = '';
this.form.scopes = [];