mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 08:07:34 +08:00
remove no need code
This commit is contained in:
@@ -38,7 +38,6 @@ export function auth(req: NextRequest, modelProvider: ModelProvider) {
|
||||
console.log("[Auth] hashed access code:", hashedCode);
|
||||
console.log("[User IP] ", getIP(req));
|
||||
console.log("[Time] ", new Date().toLocaleString());
|
||||
console.log("[ModelProvider] ", modelProvider);
|
||||
|
||||
if (serverConfig.needCode && !serverConfig.codes.has(hashedCode) && !apiKey) {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user