diff --git a/src/a3 b/src/a3 index 1eb4120..6ba1551 100755 Binary files a/src/a3 and b/src/a3 differ diff --git a/src/a3.nim b/src/a3.nim index a12a219..2c538f6 100644 --- a/src/a3.nim +++ b/src/a3.nim @@ -12,6 +12,7 @@ import email: string password: string products: seq[Products] + # echo ctx.cookies["email"] try: email = ctx.cookies["email"] @@ -232,11 +233,13 @@ import loginError = "" emailError = "" passwordError = "" + echo user if user == true: ctx &= initCookie("email", email) ctx &= initCookie("password", password) + echo ctx.cookies ctx.redirect("/")