Authy
This commit is contained in:
3
auth.go
3
auth.go
@ -113,11 +113,12 @@ func sendPassword(user string, ipaddr string) {
|
||||
if err != nil {
|
||||
log.LogErrorType(err)
|
||||
}
|
||||
now := time.Now()
|
||||
toks[m.Nick] = Tokens{
|
||||
Username: user,
|
||||
IP: ipaddr,
|
||||
Password: str,
|
||||
Timestamp: time.Now(),
|
||||
Timestamp: now,
|
||||
}
|
||||
pmChann, err := dg.UserChannelCreate(user)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user