mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
Update CSS and JS libs.
This commit is contained in:
@@ -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'
|
||||
);
|
||||
},
|
||||
|
@@ -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 = [];
|
||||
|
Reference in New Issue
Block a user