]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Improved "Password not in expected scheme" error message.
authorTimo Sirainen <tss@iki.fi>
Tue, 26 May 2009 17:48:18 +0000 (13:48 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 26 May 2009 17:48:18 +0000 (13:48 -0400)
--HG--
branch : HEAD

src/auth/auth-request.c
src/auth/passdb.c

index 79eadaff513da30d4230430bc19b877ad800d2b9..4565df25cdf2f377f43ddba7fa5ecb20ce02f535 100644 (file)
@@ -1297,7 +1297,7 @@ int auth_request_password_verify(struct auth_request *request,
        if (ret <= 0) {
                if (ret < 0) {
                        auth_request_log_error(request, subsystem,
-                               "Invalid password format for scheme %s",
+                               "Password in passdb is not in expected scheme %s",
                                scheme);
                } else {
                        auth_request_log_error(request, subsystem,
index f51c498bcb3f1ee6ccd4bc23c82d1ca1992ea591..1958e983e82a502cccc6f4431ad54daf59b01806 100644 (file)
@@ -72,7 +72,7 @@ bool passdb_get_credentials(struct auth_request *auth_request,
        if (ret <= 0) {
                if (ret < 0) {
                        auth_request_log_error(auth_request, "password",
-                               "Invalid password format for scheme %s",
+                               "Password in passdb is not in expected scheme %s",
                                input_scheme);
                } else {
                        auth_request_log_error(auth_request, "password",