Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于设置安全密码的问题 #15

Closed
brightu opened this issue Sep 13, 2024 · 4 comments
Closed

关于设置安全密码的问题 #15

brightu opened this issue Sep 13, 2024 · 4 comments
Labels
help-wanted Want some help

Comments

@brightu
Copy link

brightu commented Sep 13, 2024

按照要求,在代码中设置了const password = "",然后访问页面就直接403了

请问应该在哪里设置这个密码,从而通过密码验证呢?

谢谢

@1234567Yang
Copy link
Owner

https://github.com/1234567Yang/cf-proxy-ex/blob/main/security_password_tutorial.md

看这里,还有什么不懂的问题请再提问

@1234567Yang 1234567Yang added the help-wanted Want some help label Sep 13, 2024
Repository owner deleted a comment from Empty0Qc Sep 13, 2024
@brightu
Copy link
Author

brightu commented Sep 13, 2024 via email

@1234567Yang
Copy link
Owner

好的谢谢分享
我觉得document.cookie += "__PROXY_PWD__=密码; path=/; domain=自定义的域名";更好一点,防止其它cookie被删掉

@1234567Yang
Copy link
Owner

没有问题的话就关issue了,如果有问题reopen就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Want some help
Projects
None yet
Development

No branches or pull requests

2 participants