Passed
Push — master ( a76c69...85d56f )
by Iman
04:47
created
src/Modules/AuthModule/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     private function validatePassword($password, $realPassword)
65 65
     {
66
-        if (! \Hash::check($password, $realPassword)) {
66
+        if (!\Hash::check($password, $realPassword)) {
67 67
             $resp = redirect()->route('getLogin')->with('message', cbTrans('alert_password_wrong'));
68 68
             sendAndTerminate($resp);
69 69
         }
Please login to merge, or discard this patch.
src/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 
6 6
 $namespace = cbControllersNS();
7 7
 /* ROUTER FOR UPLOADS */
8
-Route::group(['middleware' => ['web'], 'namespace' => $namespace], function () {
8
+Route::group(['middleware' => ['web'], 'namespace' => $namespace], function() {
9 9
     Route::get('uploads/{one?}/{two?}/{three?}/{four?}/{five?}', ['uses' => 'FileController@getPreview', 'as' => 'fileControllerPreview']);
10 10
 });
11 11
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     'middleware' => ['web', CBBackend::class],
15 15
     'prefix' => cbAdminPath(),
16 16
     'namespace' => ctrlNamespace(),
17
-], function () {
17
+], function() {
18 18
     try {
19 19
         $argv = request()->server('argv');
20 20
         if (is_array($argv) && isset($argv[1]) && !starts_with($argv[1], 'route:')) {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     'middleware' => ['web', \crocodicstudio\crudbooster\middlewares\CBSuperadmin::class],
35 35
     'prefix' => cbAdminPath(),
36 36
     'namespace' => $namespace,
37
-], function () {
37
+], function() {
38 38
     Route::post('{module}/do-upload-import-data', 'FileController@uploadImportData')->name('UploadImportData');
39 39
     Route::post('{module}/upload-summernote', 'FileController@uploadSummernote')->name('UploadImportData');
40 40
     Route::post('{module}/upload-file', 'FileController@uploadFile')->name('UploadImportData');
Please login to merge, or discard this patch.