Passed
Push — master ( adc4bf...f88b7c )
by meta
05:18 queued 02:49
created
src/WebAuthController.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
         if (count($user->groups)) {
24 24
             // remove the users existing database roles before assigning new ones
25 25
             \DB::table('assigned_roles')
26
-               ->where('entity_id', $authUser->id)
27
-               ->where('entity_type', get_class($authUser))
28
-               ->delete();
26
+                ->where('entity_id', $authUser->id)
27
+                ->where('entity_type', get_class($authUser))
28
+                ->delete();
29 29
             // add the user to each group they are assigned
30 30
             $authUser->assign($user->groups);
31 31
         }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         // Check to see if there is an intended destination url saved
40 40
         $destination = $request->session()
41
-                               ->get('oauthIntendedUrl');
41
+                                ->get('oauthIntendedUrl');
42 42
         // If there is no intended destination url, use the default
43 43
         if (! $destination) {
44 44
             $destination = config('azure-oath.redirect_on_login');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $destination = $request->session()
41 41
                                ->get('oauthIntendedUrl');
42 42
         // If there is no intended destination url, use the default
43
-        if (! $destination) {
43
+        if (!$destination) {
44 44
             $destination = config('azure-oath.redirect_on_login');
45 45
         }
46 46
         \Illuminate\Support\Facades\Log::info('AUTH success USER ID '.$authUser->id.' with redirect url '.$destination);
Please login to merge, or discard this patch.