3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

Merge pull request #1739 from slingamn/issue1738

fix #1738
This commit is contained in:
Shivaram Lingamneni 2021-07-07 08:17:16 -04:00 committed by GitHub
commit 5d0e4fa023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1083,6 +1083,8 @@ func nsPasswdHandler(service *ircService, server *Server, client *Client, comman
service.Notice(rb, client.t("Your account credentials are managed externally and cannot be changed here"))
case errCASFailed:
service.Notice(rb, client.t("Try again later"))
case errAccountDoesNotExist:
service.Notice(rb, client.t("Account does not exist"))
default:
server.logger.Error("internal", "could not upgrade user password:", err.Error())
service.Notice(rb, client.t("Password could not be changed due to server error"))