085
This commit is contained in:
parent
3a62312a15
commit
c4bbad4a66
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user