X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/5ae5087660f0855087a2a65181d000d4383a45f4..481631f6b541a0f00c7c3ba789c13ac934bdefbc:/hotline/server.go diff --git a/hotline/server.go b/hotline/server.go index 067cf9f..b0ddf2d 100644 --- a/hotline/server.go +++ b/hotline/server.go @@ -355,7 +355,7 @@ func (s *Server) NewUser(login, name, password string, access []byte) error { } s.Accounts[login] = &account - return ioutil.WriteFile(s.ConfigDir+"Users/"+login+".yaml", out, 0666) + return FS.WriteFile(s.ConfigDir+"Users/"+login+".yaml", out, 0666) } // DeleteUser deletes the user account