From a730cd1c5133bd8e1ec7838170f4f4ffc2fed003 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 21 Feb 2018 05:51:49 -0800 Subject: [PATCH 1/2] Fixed - better handle admin routes when user is not logged in Redirect to login instead of just showing forbidden --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 74cc045626..719a1c28ae 100644 --- a/routes/web.php +++ b/routes/web.php @@ -124,7 +124,7 @@ Route::group(['middleware' => 'auth'], function () { -Route::group([ 'prefix' => 'admin','middleware' => ['authorize:superuser']], function () { +Route::group([ 'prefix' => 'admin','middleware' => ['auth', 'authorize:superuser']], function () { Route::get('settings', ['as' => 'settings.general.index','uses' => 'SettingsController@getSettings' ]); Route::post('settings', ['as' => 'settings.general.save','uses' => 'SettingsController@postSettings' ]); From 54d6cafda9673973c61b44ebab143071986b1201 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 21 Feb 2018 06:49:36 -0800 Subject: [PATCH 2/2] Bumped hash --- config/version.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/version.php b/config/version.php index 581c40f962..6a260e26ee 100644 --- a/config/version.php +++ b/config/version.php @@ -1,10 +1,10 @@ 'v4.1.12', - 'full_app_version' => 'v4.1.12 - build 3371-g4e39895', - 'build_version' => '3371', + 'app_version' => 'v4.1.13', + 'full_app_version' => 'v4.1.13 - build 3374-gcccd75f', + 'build_version' => '3374', 'prerelease_version' => '', - 'hash_version' => 'g4e39895', - 'full_hash' => 'v4.1.12-6-g4e39895', + 'hash_version' => 'gcccd75f', + 'full_hash' => 'v4.1.12-7-gcccd75f', 'branch' => 'develop', -); +); \ No newline at end of file