mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Fixed passport token generation
This commit is contained in:
parent
41f58efb70
commit
86926675ce
|
@ -50,7 +50,6 @@ elixir(function(mix) {
|
||||||
bowerPath + '/fileupload/**',
|
bowerPath + '/fileupload/**',
|
||||||
bowerPath + '/fastclick/**',
|
bowerPath + '/fastclick/**',
|
||||||
bowerPath + '/bootstrap-colorpicker/**',
|
bowerPath + '/bootstrap-colorpicker/**',
|
||||||
bowerPath + '/bootstrap-table/**',
|
|
||||||
bowerPath + '/bootstrap-datepicker/**',
|
bowerPath + '/bootstrap-datepicker/**',
|
||||||
bowerPath + '/iCheck/**',
|
bowerPath + '/iCheck/**',
|
||||||
bowerPath + '/select2/dist/js/select2.full.*',
|
bowerPath + '/select2/dist/js/select2.full.*',
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"assets/css/app.css": "assets/css/app-393b8564f1.css",
|
"assets/css/app.css": "assets/css/app-393b8564f1.css",
|
||||||
"assets/js/all.js": "assets/js/all-14abf1eabb.js"
|
"assets/js/all.js": "assets/js/all-745ed03b42.js"
|
||||||
}
|
}
|
|
@ -254,6 +254,7 @@
|
||||||
if (typeof response.data === 'object') {
|
if (typeof response.data === 'object') {
|
||||||
this.form.errors = _.flatten(_.toArray(response.data));
|
this.form.errors = _.flatten(_.toArray(response.data));
|
||||||
} else {
|
} else {
|
||||||
|
console.dir(this.form);
|
||||||
this.form.errors = ['Something went wrong. Please try again.'];
|
this.form.errors = ['Something went wrong. Please try again.'];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -124,20 +124,24 @@ $(document).ready(function () {
|
||||||
/*
|
/*
|
||||||
* iCheck checkbox plugin
|
* iCheck checkbox plugin
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
$('input[type="checkbox"].minimal, input[type="radio"].minimal').icheck({
|
$('input[type="checkbox"].minimal, input[type="radio"].minimal').icheck({
|
||||||
checkboxClass: 'icheckbox_minimal-blue',
|
checkboxClass: 'icheckbox_minimal-blue',
|
||||||
radioClass: 'iradio_minimal-blue'
|
radioClass: 'iradio_minimal-blue'
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Select2
|
* Select2
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||||
if(!iOS)
|
if(!iOS)
|
||||||
{
|
{
|
||||||
$(".select2").select2();
|
$(".select2").select2();
|
||||||
}
|
}
|
||||||
$('.datepicker').datepicker();
|
$('.datepicker').datepicker();
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,4 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
|
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
|
||||||
|
|
||||||
@icon-font-path: '../../../bower_components/bootstrap-less/fonts';
|
@icon-font-path: '../../../bower_components/bootstrap-less/fonts';
|
||||||
@fa-font-path: '../../../bower_components/font-awesome/fonts/';
|
@fa-font-path: '../../../bower_components/font-awesome/fonts/';
|
||||||
@import '../../../bower_components/bootstrap-less/less/bootstrap';
|
@import '../../../bower_components/bootstrap-less/less/bootstrap';
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/ico" href="{{ asset('favicon.ico') }}">
|
<link rel="shortcut icon" type="image/ico" href="{{ asset('favicon.ico') }}">
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.Laravel = { csrfToken: '{{ csrf_token() }}' };
|
||||||
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@if ($snipeSettings)
|
@if ($snipeSettings)
|
||||||
@if ($snipeSettings->header_color)
|
@if ($snipeSettings->header_color)
|
||||||
|
|
Loading…
Reference in a new issue