Parent Directory
|
Revision Log
|
Patch
| Revision 1.113 by sysadm, Thu Dec 25 05:20:09 2025 UTC | Revision 1.114 by sysadm, Fri Dec 26 11:17:41 2025 UTC | |
|---|---|---|
| # | Line 124 static int auth_password(ssh_session ses | Line 124 static int auth_password(ssh_session ses |
| 124 | ||
| 125 | if (ret == 0) | if (ret == 0) |
| 126 | { | { |
| 127 | log_common("User [%s] authenticated successfully", user); | |
| 128 | return SSH_AUTH_SUCCESS; | return SSH_AUTH_SUCCESS; |
| 129 | } | } |
| 130 | ||
| # | Line 132 static int auth_password(ssh_session ses | Line 133 static int auth_password(ssh_session ses |
| 133 | sdata->error = 1; | sdata->error = 1; |
| 134 | } | } |
| 135 | ||
| 136 | log_common("User [%s] authentication failed (%d/%d)", user, | |
| 137 | sdata->tries, BBS_login_retry_times); | |
| 138 | return SSH_AUTH_DENIED; | return SSH_AUTH_DENIED; |
| 139 | } | } |
| 140 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |