stuff
This commit is contained in:
BIN
example/example
BIN
example/example
Binary file not shown.
@@ -46,6 +46,7 @@ func main() {
|
|||||||
fmt.Printf("Initial test of username available: %v\n", a)
|
fmt.Printf("Initial test of username available: %v\n", a)
|
||||||
a=scsusers.Register("testuser", email, "127.0.0.1")
|
a=scsusers.Register("testuser", email, "127.0.0.1")
|
||||||
fmt.Printf("Register returned %v\n",a)
|
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:")
|
fmt.Printf("Enter code from email:")
|
||||||
var code string
|
var code string
|
||||||
fmt.Scan(&code)
|
fmt.Scan(&code)
|
||||||
|
Reference in New Issue
Block a user