This commit is contained in:
Aritra Banik 2024-03-13 02:12:19 +05:30
parent 3a62312a15
commit c4bbad4a66

View File

@ -16,9 +16,7 @@ proc index*(ctx: Context): string =
email = cookies.getOrDefault("email", "")
password = cookies.getOrDefault("password", "")
if email == "":
echo "No cookie found."
else:
if email != "":
products = micsGetProducts(email, password)
user = db.getUser(email, password)