Permalink
Browse files

Item14445: remove http 401 from template login

  • Loading branch information...
MichaelDaum committed Dec 12, 2017
1 parent ecbea86 commit d9c5e1e57fa83c147015907691cbce59fca33403
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 d9c5e1e

Please sign in to comment.