mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fix basic auth
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Tesses::Framework::Http {
|
|||||||
if(this->server)
|
if(this->server)
|
||||||
return this->server->Handle(ctx);
|
return this->server->Handle(ctx);
|
||||||
ctx.statusCode = InternalServerError;
|
ctx.statusCode = InternalServerError;
|
||||||
ctx.WithMimeType("text/html").SendText("<h1>Internal Server Error</h1>");
|
ctx.WithMimeType("text/html").SendText("<h1>Internal Server Error</h1>\r\n<h3>REASON: Internal server not set on Basic Auth</h3>");
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user