Archived
Updated env vars
Update sample_env
This commit is contained in:
1 parent
f46853f686
commit
8cb8353cc5
3 files changed
+5
-2
No files matched your search
@@ -15,7 +15,7 @@ class HeaderAuth
|
||||
*/
|
||||
public function handle(Request $request, Closure $next): Response
|
||||
{
|
||||
if ($request->header('X-BOTAUTH') !== env('X_BOTAUTH'))
|
||||
if ($request->header('X-BOTAUTH') !== env('BOT_X_BOTAUTH'))
|
||||
{
|
||||
return response('Unauthorized', 401);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user