소스 검색

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