mirror of
https://github.com/tinode/chat.git
synced 2025-03-14 10:05:07 +00:00
Fix broken build: tinode-db/gendb.go.
This commit is contained in:
@ -100,7 +100,7 @@ func genDb(data *Data) {
|
||||
botAccount = uu.Username
|
||||
}
|
||||
if _, err := authHandler.AddRecord(&auth.Rec{Uid: user.Uid(), AuthLevel: authLevel},
|
||||
[]byte(uu.Username+":"+passwd)); err != nil {
|
||||
[]byte(uu.Username+":"+passwd), ""); err != nil {
|
||||
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user