lang-updaetes
This commit is contained in:
@@ -12,6 +12,7 @@ use Illuminate\Auth\Access\AuthorizationException;
|
||||
// use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Illuminate\Foundation\Validation\ValidationException;
|
||||
use Illuminate\Session\TokenMismatchException;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
@@ -171,6 +172,8 @@ class Handler extends ExceptionHandler
|
||||
// } else {
|
||||
// return parent::render($request, $e);
|
||||
// }
|
||||
case $e instanceof TokenMismatchException:
|
||||
return redirect()->back()->with('fails', \Lang::get('lang.session-expired'));
|
||||
default:
|
||||
return $this->render500($request, $e);
|
||||
}
|
||||
|
@@ -25,8 +25,9 @@
|
||||
| v1.9.5 (security hot fixt patch2)
|
||||
|=====================================================
|
||||
## Bug Fixed
|
||||
Github issue #446 regarding CSRF
|
||||
Enabled CSRF token verification to prevent CSRF attacks
|
||||
Prevents execution of backdoor scripts
|
||||
Prevents users from uploading PHP files into user's profile picture
|
||||
Handling token mismatch error when the page is opened for too long and session gets expired
|
||||
|
||||
|=====================================================
|
||||
| v1.9.4 (security hot fixt patch)
|
||||
|
@@ -1157,5 +1157,6 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
];
|
||||
|
@@ -1594,4 +1594,6 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
];
|
||||
|
@@ -1565,5 +1565,7 @@ return [
|
||||
'search' => 'Rechercher...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'L\'utilisateur sélectionné est déjà le propriétaire du ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
|
||||
];
|
||||
|
@@ -1117,4 +1117,6 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
];
|
||||
|
@@ -1611,4 +1611,6 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
];
|
||||
|
@@ -1556,5 +1556,7 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
|
||||
];
|
||||
|
@@ -1065,4 +1065,6 @@ return [
|
||||
'search' => 'Search...',
|
||||
//update 21-12-2016
|
||||
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
|
||||
//updated 15-5-2017
|
||||
'session-expired' => 'Session expired or invalid, please try again.',
|
||||
];
|
||||
|
Reference in New Issue
Block a user