Remove debug prints and refactor notification function

Removed unnecessary console output in Program.cs and Turnstile.cs to clean up logs and avoid exposing sensitive information. Refactored user.html to replace the `notification` function with `createNotification` for improved notification handling.
This commit is contained in:
whoswhip
2024-09-13 11:54:04 -04:00
parent 6ca6833b42
commit 65ddb4b722
3 changed files with 6 additions and 8 deletions
-1
View File
@@ -24,7 +24,6 @@ namespace Sharpbin
using (var response = await httpClient.SendAsync(request))
{
var jsonresponse = JObject.Parse(await response.Content.ReadAsStringAsync());
Console.WriteLine(jsonresponse["success"]?.ToString());
if (jsonresponse["success"]?.ToString().ToLower() == "true")
{
return true;