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-03-10 19:30:05 +08:00
2024-03-15 19:52:19 +08:00
2024-07-20 22:51:15 +08:00
2023-10-13 13:45:13 +08:00
2023-08-19 18:41:08 +08:00
2024-03-02 10:41:16 +08:00
2024-01-13 09:58:55 +08:00
2023-12-11 18:01:28 +08:00
2023-07-30 22:01:10 +08:00
2024-05-28 20:33:55 +08:00
2023-09-27 01:11:58 +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-03-11 18:18:01 +08:00