diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2017-10-26 07:51:18 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2017-10-26 07:51:18 +0200 |
| commit | 8e732d437c9909ebde32d26549731e766e6ef427 (patch) | |
| tree | 9b59fe75819ed815cca9253aa8cde6fd61c09868 /htroot/index.html | |
| parent | 5161451a3549516df8542711830162bc6383b3cf (diff) | |
Enable HTTP Digest authentication for non admin users.
Also ensure authentication is not lost by Digest timeout when navigating
between index.html and search results page.
This way, running searches with extended features on a remote peer or a
password protected peer works with a regular user (with "Extended
search" rights).
When authenticating on the search page with a user without "Extended
search" rights, it appears as authenticated, but has just its usual
access to the public search features.
Diffstat (limited to 'htroot/index.html')
| -rw-r--r-- | htroot/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/htroot/index.html b/htroot/index.html index 5af481042..b43184f83 100644 --- a/htroot/index.html +++ b/htroot/index.html @@ -61,9 +61,9 @@ <button id="Enter" name="Enter" class="btn btn-primary" type="submit">Search</button> </div> </div> - #(authorized)#:: + #(authSearch)#:: <input type="hidden" name="auth" id="auth" value=""/> - #(/authorized)# + #(/authSearch)# <input type="hidden" name="verify" value="#[search.verify]#" /> #(searchdomswitches)#:: <div class="yacysearch"> @@ -72,7 +72,7 @@ #(searchaudio)#::<input type="radio" id="audio" name="contentdom" value="audio" #(check)#::checked="checked"#(/check)# /> Audio #(/searchaudio)# #(searchvideo)#::<input type="radio" id="video" name="contentdom" value="video" #(check)#::checked="checked"#(/check)# /> Video #(/searchvideo)# #(searchapp)#::<input type="radio" id="app" name="contentdom" value="app" #(check)#::checked="checked"#(/check)# /> Applications#(/searchapp)# - #(searchoptions)# <a href="index.html?searchoptions=1" onclick="this.href='index.html?searchoptions=1&former='+document.getElementById('search').value+'&contentdom='+radioValue(document.getElementById('searchform').contentdom);">more options...</a>::#(/searchoptions)# + #(searchoptions)# <a href="index.html?searchoptions=1#(authSearch)#::&auth#(/authSearch)#" onclick="this.href='index.html?searchoptions=1#(authSearch)#::&auth#(/authSearch)#&former='+document.getElementById('search').value+'&contentdom='+radioValue(document.getElementById('searchform').contentdom);">more options...</a>::#(/searchoptions)# </div> #(/searchdomswitches)# <input type="hidden" name="nav" value="#[search.navigation]#" /> |
