diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -238,9 +238,8 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method) | |||
238 | /* now we can break out */ | 238 | /* now we can break out */ |
239 | authctxt->success = 1; | 239 | authctxt->success = 1; |
240 | } else { | 240 | } else { |
241 | if (authctxt->failures++ > AUTH_FAIL_MAX) { | 241 | if (authctxt->failures++ > AUTH_FAIL_MAX) |
242 | packet_disconnect(AUTH_FAIL_MSG, authctxt->user); | 242 | packet_disconnect(AUTH_FAIL_MSG, authctxt->user); |
243 | } | ||
244 | #ifdef _UNICOS | 243 | #ifdef _UNICOS |
245 | if (strcmp(method, "password") == 0) | 244 | if (strcmp(method, "password") == 0) |
246 | cray_login_failure(authctxt->user, IA_UDBERR); | 245 | cray_login_failure(authctxt->user, IA_UDBERR); |