Fixed passport token generation

This commit is contained in:
snipe 2017-01-11 08:44:34 -08:00
parent 41f58efb70
commit 86926675ce
11 changed files with 26 additions and 11 deletions

View file

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

View file

@ -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"
} }

View file

@ -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.'];
} }
}); });

View file

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

View file

@ -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';

View file

@ -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)