1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

Memorize the auth form only when the "document.browse.forms.show_formhist" is on.

This commit is contained in:
witekfl 2011-10-06 10:54:11 +02:00
parent ddc0d8d7be
commit 0e5822edae

View File

@ -39,7 +39,7 @@ auth_ok(void *data)
entry->valid = auth_entry_has_userinfo(entry); entry->valid = auth_entry_has_userinfo(entry);
#ifdef CONFIG_FORMHIST #ifdef CONFIG_FORMHIST
{ if (get_opt_bool("document.browse.forms.show_formhist", ses)) {
unsigned char *url = get_uri_string(entry->uri, URI_HTTP_AUTH); unsigned char *url = get_uri_string(entry->uri, URI_HTTP_AUTH);
if (url) { if (url) {