ZhaoYP 2001
7cd8f030ee
feat: support IP limitation for user entry pages ( #3267 )
...
* feat: support IP limitation for user entry pages
* fix: error message, ip whiteList, check_entry_ip
* fix: perform checks on the backend
* fix: change the implementation of checking IpWhitelist
* fix: add entryIpCheck in SetPassword and remove it from VerifyCode
* fix: remove additional error message pop-ups
* fix: add isRestricted and show ip error in EntryPage.js
* fix: error message
* Update auth.go
* Update check_ip.go
* Update check_ip.go
* fix: update return value of the check function from string to error
* fix: remoteAddress position
* fix: IP whitelist
* fix: clientIp
* fix:add util.GetClientIpFromRequest
* fix: remove duplicate IP and port separation codes and remove extra special characters after clientIp
* fix: gofumpt
* fix: getIpInfo and localhost
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2024-10-15 20:40:14 +08:00
..
2024-02-13 23:12:25 +08:00
2024-05-01 09:47:44 +08:00
2024-10-15 20:40:14 +08:00
2023-05-30 15:49:39 +08:00
2023-05-30 15:49:39 +08:00
2024-03-10 19:30:05 +08:00
2024-10-15 20:40:14 +08:00
2024-01-15 18:12:38 +08:00
2024-08-10 09:31:46 +08:00
2024-10-15 20:40:14 +08:00
2023-12-14 22:35:25 +08:00
2023-12-20 11:41:54 +08:00
2024-03-15 19:52:19 +08:00
2024-05-07 23:11:08 +08:00
2023-10-31 14:39:50 +08:00
2024-03-05 23:41:46 +08:00
2024-10-03 08:49:09 +08:00
2024-07-20 22:51:15 +08:00
2024-02-02 21:12:56 +08:00
2023-12-02 17:51:25 +08:00
2024-08-24 00:12:52 +08:00
2024-08-24 00:12:52 +08:00
2024-02-16 08:53:56 +08:00
2024-02-06 20:17:59 +08:00
2024-02-06 20:17:59 +08:00
2023-10-13 13:45:13 +08:00
2023-09-05 17:05:34 +08:00
2024-09-26 13:06:36 +08:00
2024-10-15 20:40:14 +08:00
2023-08-19 18:41:08 +08:00
2024-03-02 10:41:16 +08:00
2024-07-12 15:48:37 +08:00
2024-01-13 09:58:55 +08:00
2023-10-22 02:30:29 +08:00
2024-07-09 11:35:22 +08:00
2024-05-07 23:33:01 +08:00
2024-05-07 23:33:01 +08:00
2023-09-13 17:30:51 +08:00
2024-07-12 15:48:37 +08:00
2023-04-28 22:11:10 +08:00
2024-05-07 17:17:45 +08:00
2024-07-12 15:48:37 +08:00
2023-12-11 18:01:28 +08:00
2024-02-20 13:45:03 +08:00
2024-10-15 12:22:38 +08:00
2023-07-30 22:01:10 +08:00
2024-08-26 23:57:41 +08:00
2023-10-08 19:33:28 +08:00
2024-05-07 23:11:08 +08:00
2024-09-16 08:01:28 +08:00
2023-10-20 21:11:36 +08:00
2023-07-29 15:07:04 +08:00
2024-02-01 17:50:22 +08:00
2024-05-28 20:33:55 +08:00
2024-08-27 23:54:03 +08:00
2023-08-30 17:13:45 +08:00
2023-07-29 15:07:04 +08:00
2023-09-27 01:11:58 +08:00
2023-10-19 18:57:12 +08:00
2024-05-11 16:59:33 +08:00
2023-05-30 15:49:39 +08:00
2024-02-21 17:27:37 +08:00
2024-05-27 01:06:59 +08:00
2024-05-13 00:12:35 +08:00
2024-09-15 23:00:50 +08:00
2024-03-10 19:30:05 +08:00
2024-03-10 19:30:05 +08:00
2021-10-30 14:18:48 +08:00
2021-10-30 14:18:48 +08:00
2024-08-30 16:59:41 +08:00
2024-08-09 21:06:23 +08:00
2024-08-31 12:49:39 +08:00
2024-03-17 01:39:04 +08:00
2024-07-12 15:48:37 +08:00
2023-11-25 18:31:33 +08:00
2023-06-17 11:43:46 +08:00
2023-06-17 11:43:46 +08:00
2023-06-17 12:50:01 +08:00
2024-02-06 16:43:16 +08:00
2023-05-30 15:49:39 +08:00
2024-02-07 20:55:33 +08:00
2023-07-29 15:07:04 +08:00
2024-01-30 23:18:32 +08:00
2024-10-15 20:40:14 +08:00
2023-05-30 15:49:39 +08:00
2024-10-15 20:40:14 +08:00
2024-09-29 11:45:15 +08:00
2024-02-21 17:27:37 +08:00
2024-05-12 20:30:15 +08:00
2024-03-11 18:18:01 +08:00