Преглед изворни кода

Send '?from=fe2' to auth if not authenticated

Vijayakrishnan пре 3 година
родитељ
комит
0c718e95ce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Http/Middleware/ProAuthenticated.php

+ 1 - 1
app/Http/Middleware/ProAuthenticated.php

@@ -27,7 +27,7 @@ class ProAuthenticated
                 echo('AUTH_URL is not specified.');
                 exit;
             }
-            return redirect($authUrl);
+            return redirect($authUrl . '?from=fe2');
         }
 
         //log session activity