fix one error with sharing-links having passwords (no HTML tags in Headers!)

This commit is contained in:
Ralf Becker 2020-02-14 13:43:50 +01:00
parent 43944e6721
commit 42e62cb3eb

View File

@ -207,7 +207,7 @@ class Sharing
header('WWW-Authenticate: Basic realm="'.$realm.'"');
return static::share_fail(
'401 Unauthorized',
"<html>\n<head>\n<title>401 Unauthorized</title>\n<body>\nAuthorization failed.\n</body>\n</html>\n"
"Authorization failed."
);
}