Completed
Pull Request — master (#63)
by
unknown
02:50 queued 10s
created
src/Http/Middleware/ForbidBannedUser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
                 return redirect($redirect_url)->withInput()->withErrors([
53 53
                     'login' => 'This account is blocked.',
54 54
                 ]);
55
-            }
56
-            else{
55
+            } else{
57 56
                 return redirect()->back()->withInput()->withErrors([
58 57
                     'login' => 'This account is blocked.',
59 58
                 ]);
Please login to merge, or discard this patch.
src/Http/Middleware/LogsOutBannedUser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
                 return redirect($redirect_url)->withInput()->withErrors([
53 53
                     'login' => 'This account is blocked.',
54 54
                 ]);
55
-            }
56
-            else{
55
+            } else{
57 56
                 return redirect()->back()->withInput()->withErrors([
58 57
                     'login' => 'This account is blocked.',
59 58
                 ]);
Please login to merge, or discard this patch.