diff --git a/proxy/handlers.go b/proxy/handlers.go index e363b14..ef4e2f9 100644 --- a/proxy/handlers.go +++ b/proxy/handlers.go @@ -51,11 +51,6 @@ func (s *ProxyServer) handleLoginRPC(cs *Session, params []string, id string) (b return false, &ErrorReply{Code: -1, Message: "You are blacklisted"} } - // If password is provided, write it to the backend - if len(params) > 1 { - s.backend.WritePasswordByMiner(login, params[1]) - } - // Update session information and register the session cs.login = login cs.worker = id