chore: prepare anxinyan release
This commit is contained in:
@@ -12,7 +12,7 @@ class AppAuthMiddleware implements MiddlewareInterface
|
||||
public function process(Request $request, callable $handler): Response
|
||||
{
|
||||
$path = $request->path();
|
||||
if (!str_starts_with($path, '/api/app')) {
|
||||
if (strpos($path, '/api/app') !== 0) {
|
||||
return $handler($request);
|
||||
}
|
||||
|
||||
@@ -53,6 +53,9 @@ class AppAuthMiddleware implements MiddlewareInterface
|
||||
'/api/app/auth/send-code',
|
||||
'/api/app/auth/login/code',
|
||||
'/api/app/auth/login/password',
|
||||
'/api/app/auth/wechat/config',
|
||||
'/api/app/auth/wechat/exchange',
|
||||
'/api/app/auth/wechat/bind-mobile',
|
||||
], true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user