Frontend: Fix user password changing and use HTTP 307 for redirecting

This commit is contained in:
2023-09-12 11:38:11 +02:00
parent f36cd5085f
commit c296f53678
2 changed files with 2 additions and 3 deletions

View File

@@ -326,7 +326,7 @@ sub redirect {
my $aClient = $_[0];
my $aLocation = $_[1];
my $response = getBaseResponse(301, "Moved Permanently");
my $response = getBaseResponse(307, "Temporary Redirect");
$response.="Content-Length: 0\r\n";
$response.="Location: $aLocation\r\n";
$aClient->send($response);