This commit is contained in:
scs 2018-12-27 22:17:30 +00:00
parent 9876e264ff
commit 4125dd0196
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -46,6 +46,7 @@ func main() {
fmt.Printf("Initial test of username available: %v\n", a)
a=scsusers.Register("testuser", email, "127.0.0.1")
fmt.Printf("Register returned %v\n",a)
fmt.Printf("Attempt to log in with invalid username returned %v\n", scsusers.Login("baduser", "badpass"))
fmt.Printf("Enter code from email:")
var code string
fmt.Scan(&code)