Fix broken build: tinode-db/gendb.go.

This commit is contained in:
aforge
2020-12-10 17:50:17 +03:00
parent f75c84ee31
commit af8d7ba97e

View File

@ -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)
}