diff options
Diffstat (limited to 'src/authenticate.cc')
-rw-r--r-- | src/authenticate.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/authenticate.cc b/src/authenticate.cc index a448238..bdd18c9 100644 --- a/src/authenticate.cc +++ b/src/authenticate.cc @@ -344,7 +344,8 @@ int Binc::authenticate(Depot &depot, const string &username, << " <" << username << "> authentication failed: " << (authenticated ? "authenticator" : "server") << " reports wrong usage" << endl; - return -1; + sleep(AUTH_PENALTY); + return 2; default: // internal error -- or authenticator fooled us bincLog << "bincimap-up: pid " << pid |