Fix Bug: When Init-DB by json file, ignore tags of user if defined

This commit is contained in:
SMAH1
2022-11-08 20:29:47 +03:30
parent 1aa7942a29
commit 78c3230fda

View File

@ -52,7 +52,6 @@ func genDb(data *Data) {
}
user.CreatedAt = getCreatedTime(uu.CreatedAt)
user.Tags = make([]string, 0)
user.Tags = append(user.Tags, "basic:"+uu.Username)
if uu.Email != "" {
user.Tags = append(user.Tags, "email:"+uu.Email)