Parent Directory
|
Revision Log
|
Patch
| Revision 1.52 by sysadm, Sun Sep 28 12:25:14 2025 UTC | Revision 1.53 by sysadm, Sun Sep 28 12:28:10 2025 UTC | |
|---|---|---|
| # | Line 213 int check_user(const char *username, con | Line 213 int check_user(const char *username, con |
| 213 | } | } |
| 214 | if ((row = mysql_fetch_row(rs))) | if ((row = mysql_fetch_row(rs))) |
| 215 | { | { |
| 216 | if (atoi(row[0]) >= 3) | if (atoi(row[0]) >= BBS_allowed_login_failures_per_account) |
| 217 | { | { |
| 218 | prints("\033[1;31m账户存在多次失败登陆尝试,请使用Web方式登录解锁\033[m\r\n"); | prints("\033[1;31m账户存在多次失败登陆尝试,请使用Web方式登录解锁\033[m\r\n"); |
| 219 | ret = 1; | ret = 1; |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |