24th Commit

This commit is contained in:
Aritra Banik
2024-02-09 02:54:36 +05:30
parent c4354da63e
commit 741b61e17f
10 changed files with 47 additions and 30 deletions

View File

@@ -26,7 +26,6 @@ import
echo "No cookie found."
else:
products = micsGetProducts(email, password)
echo "Cookie found."
compileTemplateFile(getScriptDir() / "a3a" / "index.nimja")
@@ -336,13 +335,11 @@ import
loginError = ""
emailError = ""
passwordError = ""
echo user
if user == true:
ctx &= initCookie("email", email)
ctx &= initCookie("password", password)
echo ctx.cookies
ctx.redirect("/")