diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-02 15:22:11 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-02 15:22:11 -0700 |
| commit | 481631f6b541a0f00c7c3ba789c13ac934bdefbc (patch) | |
| tree | 7e672f439c1d9a93f68493d5da624e17bd0ce654 /hotline/server.go | |
| parent | 5ae5087660f0855087a2a65181d000d4383a45f4 (diff) | |
Cleanup and backfill tests
Diffstat (limited to 'hotline/server.go')
| -rw-r--r-- | hotline/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |