Parent Directory
|
Revision Log
|
Patch
| Revision 1.71 by sysadm, Fri Nov 28 14:35:38 2025 UTC | Revision 1.73 by sysadm, Tue Dec 2 08:04:29 2025 UTC | |
|---|---|---|
| # | Line 90 int bbs_login(void) | Line 90 int bbs_login(void) |
| 90 | return -1; | return -1; |
| 91 | } | } |
| 92 | ||
| log_common("User \"%s\"(%ld) login from %s:%d\n", | ||
| BBS_username, BBS_priv.uid, hostaddr_client, port_client); | ||
| 93 | return 0; | return 0; |
| 94 | } | } |
| 95 | ||
| # | Line 450 int load_user_info(MYSQL *db, int BBS_ui | Line 447 int load_user_info(MYSQL *db, int BBS_ui |
| 447 | goto cleanup; | goto cleanup; |
| 448 | } | } |
| 449 | ||
| 450 | if (last_login_dt < BBS_eula_tm) | |
| 451 | { | |
| 452 | ret = -2; // require update agreement first | |
| 453 | goto cleanup; | |
| 454 | } | |
| 455 | ||
| 456 | cleanup: | cleanup: |
| 457 | mysql_free_result(rs); | mysql_free_result(rs); |
| 458 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |