@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -49,7 +49,7 @@ |
||
49 | 49 | <br> |
50 | 50 | <small> |
51 | 51 | <?php |
52 | - $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
52 | + $default_error_message = "Please return to <a href='".url('')."'>our homepage</a>."; |
|
53 | 53 | ?> |
54 | 54 | {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!} |
55 | 55 | </small> |
@@ -16,7 +16,7 @@ |
||
16 | 16 | 'middleware' => 'web', |
17 | 17 | 'prefix' => config('backpack.base.route_prefix'), |
18 | 18 | ], |
19 | -function () { |
|
19 | +function() { |
|
20 | 20 | // if not otherwise configured, setup the auth routes |
21 | 21 | if (config('backpack.base.setup_auth_routes')) { |
22 | 22 | Route::auth(); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | public function register() |
76 | 76 | { |
77 | 77 | // register the current package |
78 | - $this->app->bind('base', function ($app) { |
|
78 | + $this->app->bind('base', function($app) { |
|
79 | 79 | return new Base($app); |
80 | 80 | }); |
81 | 81 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function withValidator($validator) |
43 | 43 | { |
44 | - $validator->after(function ($validator) { |
|
44 | + $validator->after(function($validator) { |
|
45 | 45 | // check old password matches |
46 | 46 | if (!Hash::check($this->input('old_password'), \Auth::user()->password)) { |
47 | 47 | $validator->errors()->add('old_password', trans('backpack::base.old_password_wrong')); |