Ei kuvausta

melodmi f773dbb274 update readmd 4 vuotta sitten
files 4605346b19 First commit 4 vuotta sitten
.DS_Store 4605346b19 First commit 4 vuotta sitten
README.md f773dbb274 update readmd 4 vuotta sitten
go.mod 4605346b19 First commit 4 vuotta sitten
go.sum 4605346b19 First commit 4 vuotta sitten
main.go 4605346b19 First commit 4 vuotta sitten
my.db 4605346b19 First commit 4 vuotta sitten

README.md

Functions implemented:

  • signup,
  • login with username and password,
  • logout,
  • the user cannot login again if he/she is already logged in (except admin),
  • the user cannot signup for username already used,
  • check how many users logged in (from INDEX.html)

User for testing: username -> hello, password -> world Admin user (hard-coded): username -> admin, password -> admin