Login Form For Http Basic Auth

前端 未结 4 695
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 14:53

I am running a Perl application named bitlfu.For login it is using something like Apache HTTP Basic Auth but not a form.I want to make form

4条回答
  •  时光说笑
    2020-12-17 15:34

    This is a simple plug&play solution ;-). Will work for any domain (and on HTTPS too):

    
    

    You can drop this in your 401 error document.

    Note that return false is required so that the page is not reloaded twice.

提交回复
热议问题