main #23

Merged
cereci5049 merged 30 commits from harshscool955952/8:main into harsh 2024-08-15 18:53:35 +02:00
4 changed files with 9 additions and 0 deletions
Showing only changes of commit d940f243a1 - Show all commits

BIN
src/db/db_up.exe Normal file

Binary file not shown.

BIN
src/hh1

Binary file not shown.

BIN
src/hh1.exe Normal file

Binary file not shown.

View file

@ -43,6 +43,15 @@ import
"/:path" -> get:
compileTemplateFile(getScriptDir() / "view" / "404.nimja")
"/login"-> post:
var em =ctx.urlForm["email"]
var ps=ctx.urlForm["password"]
let conn=newTurso()
var temp=getUser(conn,em,ps)
if temp[0]:
ctx.redirect("/")
else:
echo "user not found"
servePublic("src/public", "/static")