Ver Fonte

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

Vijayakrishnan há 3 anos atrás
pai
commit
0c718e95ce
1 ficheiros alterados com 1 adições e 1 exclusões
  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