diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-07 17:45:33 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-07 17:45:33 -0700 |
| commit | 8277fb93fd2c957e5fd609b68a001babea46cdc4 (patch) | |
| tree | e12288f678696113ff9e7e41074e592946e39bf5 /hotline/server.go | |
| parent | 95b51279959956123f87f798d93ee7f1521c0caa (diff) | |
patch: v0.5.2
Diffstat (limited to 'hotline/server.go')
| -rw-r--r-- | hotline/server.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hotline/server.go b/hotline/server.go index 768433b..64cc527 100644 --- a/hotline/server.go +++ b/hotline/server.go @@ -362,8 +362,6 @@ func (s *Server) UpdateUser(login, newLogin, name, password string, access []byt s.mux.Lock() defer s.mux.Unlock() - fmt.Printf("login: %v, newLogin: %v: ", login, newLogin) - // update renames the user login if login != newLogin { err := os.Rename(s.ConfigDir+"Users/"+login+".yaml", s.ConfigDir+"Users/"+newLogin+".yaml") |