From 0e5822edae371eea6addfb44e8efa53cf3128b8c Mon Sep 17 00:00:00 2001 From: witekfl Date: Thu, 6 Oct 2011 10:54:11 +0200 Subject: [PATCH] Memorize the auth form only when the "document.browse.forms.show_formhist" is on. --- src/protocol/auth/dialogs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/auth/dialogs.c b/src/protocol/auth/dialogs.c index e49e29c0..71fd4e6f 100644 --- a/src/protocol/auth/dialogs.c +++ b/src/protocol/auth/dialogs.c @@ -39,7 +39,7 @@ auth_ok(void *data) entry->valid = auth_entry_has_userinfo(entry); #ifdef CONFIG_FORMHIST - { + if (get_opt_bool("document.browse.forms.show_formhist", ses)) { unsigned char *url = get_uri_string(entry->uri, URI_HTTP_AUTH); if (url) {