mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-18 19:49:30 +03:00
parent
8f3433b714
commit
92f5b5c8b1
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ func (o *JsonDB) Init() error {
|
|||
}
|
||||
|
||||
o.conn.Write("users", user.Username, user)
|
||||
results, _ = o.conn.ReadAll("users")
|
||||
err = util.ManagePerms(path.Join(path.Join(o.dbPath, "users"), user.Username+".json"))
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Reference in a new issue