Add configurable SMTP server
This commit is contained in:
@@ -41,7 +41,7 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
scsusers.Init(db, "test", "Example Test", "nobody@nowhere.com")
|
||||
scsusers.Init(db, "test", "Example Test", "nobody@nowhere.com", "localhost:25")
|
||||
a:=scsusers.UsernameAvailable("testuser")
|
||||
fmt.Printf("Initial test of username available: %v\n", a)
|
||||
a=scsusers.Register("testuser", email, "127.0.0.1")
|
||||
|
Reference in New Issue
Block a user