diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 60ed36f..bb9d032 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -45,7 +45,7 @@ class LoginController extends Controller { $this->validateLogin($request); - if (Auth::attempt(array_merge($this->credentials($request),['active'=>TRUE]))) { + if (Auth::attempt(array_merge($this->credentials($request),['active'=>TRUE]),TRUE)) { $request->session()->regenerate(); return $this->sendLoginResponse($request); diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 77351db..f6f95b6 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -67,7 +67,7 @@
Cancel - +
diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index f0d60ca..f7d195a 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -43,7 +43,7 @@
Cancel - +
diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index ab5b7c3..2628b20 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -74,7 +74,7 @@
Cancel - +
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 00f0aed..544b5b8 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -79,7 +79,7 @@
Cancel - +
diff --git a/resources/views/domain/addedit.blade.php b/resources/views/domain/addedit.blade.php index a4069cb..d5bca0f 100644 --- a/resources/views/domain/addedit.blade.php +++ b/resources/views/domain/addedit.blade.php @@ -100,7 +100,7 @@
Cancel @can('admin',$o) - + @endcan
diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php new file mode 100644 index 0000000..51db30b --- /dev/null +++ b/resources/views/errors/500.blade.php @@ -0,0 +1,18 @@ +@extends('layouts.auth') + +@section('htmlheader_title') + 500 +@endsection + +@section('content') +
+
+

500 - Server Error?

+

Sorry, something went bad. Try again?

+ + {{ $exception->getMessage() }} + +

Home

+
+
+@endsection \ No newline at end of file diff --git a/resources/views/layouts/partials/topmenu.blade.php b/resources/views/layouts/partials/topmenu.blade.php index 050fd26..6de5455 100644 --- a/resources/views/layouts/partials/topmenu.blade.php +++ b/resources/views/layouts/partials/topmenu.blade.php @@ -25,7 +25,7 @@ @auth @endauth diff --git a/resources/views/pkt/debug.blade.php b/resources/views/pkt/debug.blade.php index 6dc19bb..4bbb353 100644 --- a/resources/views/pkt/debug.blade.php +++ b/resources/views/pkt/debug.blade.php @@ -28,7 +28,7 @@ @if($errors->count())
- + There were errors with the submission.
    @foreach ($errors->all() as $error) @@ -42,7 +42,7 @@
    Cancel - +
diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index 119c3ed..69cdfb5 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -164,17 +164,24 @@ use App\Models\Setup;
-
+
Cancel - @if($errors->count()) - - There were errors with the submission. - @dump($errors) - - @endif - @can('admin',$o) - - @endcan +
+ + + @if($errors->count()) + + There were errors with the submission. + @dump($errors) + + @endif + + + @can('admin',$o) +
+ +
+ @endcan
diff --git a/resources/views/system/form-address.blade.php b/resources/views/system/form-address.blade.php index c95ae0c..60a55e2 100644 --- a/resources/views/system/form-address.blade.php +++ b/resources/views/system/form-address.blade.php @@ -84,7 +84,7 @@
- . + . @error('node_id') @@ -98,7 +98,7 @@
-
+
@@ -115,12 +115,12 @@
-
+
- / + / .0 @@ -160,7 +160,7 @@ @if($errors->count()) - + There were errors with the submission. @endif @@ -168,7 +168,7 @@ @can('admin',$o)
- +
@endcan
diff --git a/resources/views/system/form-session.blade.php b/resources/views/system/form-session.blade.php index b6eba7e..14a9dd0 100644 --- a/resources/views/system/form-session.blade.php +++ b/resources/views/system/form-session.blade.php @@ -109,7 +109,7 @@ @if($errors->count()) - + There were errors with the submission. @endif @@ -117,7 +117,7 @@ @can('admin',$o)
- +
@endcan
diff --git a/resources/views/system/form-system.blade.php b/resources/views/system/form-system.blade.php index 186eb11..b7fbb01 100644 --- a/resources/views/system/form-system.blade.php +++ b/resources/views/system/form-system.blade.php @@ -171,7 +171,7 @@
Cancel @can('admin',$o) - + @endcan
diff --git a/resources/views/user/addedit.blade.php b/resources/views/user/addedit.blade.php index 24d0647..934bdae 100644 --- a/resources/views/user/addedit.blade.php +++ b/resources/views/user/addedit.blade.php @@ -89,7 +89,7 @@
Cancel @can('admin',$o) - + @endcan
diff --git a/resources/views/zone/addedit.blade.php b/resources/views/zone/addedit.blade.php index 8f4833b..0687542 100644 --- a/resources/views/zone/addedit.blade.php +++ b/resources/views/zone/addedit.blade.php @@ -147,7 +147,7 @@
Cancel @can('admin',$o) - + @endcan