Permalink
Browse files

Item14445: remove http 401 from template login

  • Loading branch information...
MichaelDaum committed Dec 12, 2017
1 parent 032b56b commit 4bd6441340dac8592ee16ffdbb2d73eeb1e9cb03
Showing with 0 additions and 9 deletions.
  1. +0 −9 core/lib/Foswiki/LoginManager/TemplateLogin.pm
@@ -93,15 +93,6 @@ sub forceAuthentication {
my $query = $session->{request};
my $response = $session->{response};
# Respond with a 401 with an appropriate WWW-Authenticate
# that won't be snatched by the browser, but can be used
# by JS to generate login info.
$response->header(
-status => 401,
-WWW_Authenticate => 'FoswikiBasic realm="'
. ( $Foswiki::cfg{AuthRealm} || "" ) . '"'
);
$query->param(
-name => 'foswiki_origin',
-value => _packRequest($session)

0 comments on commit 4bd6441

Please sign in to comment.