瀏覽代碼

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