diff --git a/.env.example b/.env.example index 4fc0c7fb..d995fcb8 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,7 @@ APP_ENV=local +APP_KEY=SomeRandomString APP_DEBUG=true +APP_LOG_LEVEL=debug APP_KEY=SomeRandomString APP_TIMEZONE=UTC APP_LANG=en diff --git a/app/Http/Controllers/Auth/PasswordController.php b/app/Http/Controllers/Auth/PasswordController.php index 1ceed97b..66f77366 100644 --- a/app/Http/Controllers/Auth/PasswordController.php +++ b/app/Http/Controllers/Auth/PasswordController.php @@ -27,6 +27,6 @@ class PasswordController extends Controller */ public function __construct() { - $this->middleware('guest'); + $this->middleware($this->guestMiddleware()); } } diff --git a/config/app.php b/config/app.php index 1bcc5c20..76190440 100644 --- a/config/app.php +++ b/config/app.php @@ -121,6 +121,8 @@ return [ 'log' => env('APP_LOG', 'single'), + 'log_level' => env('APP_LOG_LEVEL', 'debug'), + /* |-------------------------------------------------------------------------- | Autoloaded Service Providers diff --git a/config/broadcasting.php b/config/broadcasting.php index abaaac32..bf8b2dfe 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -11,6 +11,8 @@ return [ | framework when an event needs to be broadcast. You may set this to | any of the connections defined in the "connections" array below. | + | Supported: "pusher", "redis", "log" + | */ 'default' => env('BROADCAST_DRIVER', 'pusher'), diff --git a/config/cache.php b/config/cache.php index 3ffa840b..6b8ac914 100644 --- a/config/cache.php +++ b/config/cache.php @@ -11,6 +11,8 @@ return [ | using this caching library. This connection is used when another is | not explicitly specified when executing a given caching function. | + | Supported: "apc", "array", "database", "file", "memcached", "redis" + | */ 'default' => env('CACHE_DRIVER', 'file'), diff --git a/config/services.php b/config/services.php index 287b1186..1581f1db 100644 --- a/config/services.php +++ b/config/services.php @@ -19,6 +19,10 @@ return [ 'secret' => env('MAILGUN_SECRET'), ], + 'mandrill' => [ + 'secret' => env('MANDRILL_SECRET'), + ], + 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index b1e61204..b720584b 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -34,6 +34,7 @@ return [ 'different' => 'The :attribute and :other must be different.', 'digits' => 'The :attribute must be :digits digits.', 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'dimensions' => 'The :attribute has invalid image dimensions.', 'distinct' => 'The :attribute field has a duplicate value.', 'email' => 'The :attribute must be a valid email address.', 'exists' => 'The selected :attribute is invalid.', diff --git a/tests/TestCase.php b/tests/TestCase.php index 8578b17e..8208edca 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,6 +1,6 @@