Skip to content
Snippets Groups Projects
Unverified Commit fe745bec authored by Michael Große's avatar Michael Große
Browse files

tests: use non-empty string for static salt

As pointed out by @klap-in, an empty string may evaluate to false in
some circumstances. This is something we may not want. Using a string
like 'test' should therefore be more robust.
parent a1fe3c9c
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ function auth_browseruid() {
*/
function auth_cookiesalt($addsession = false, $secure = false) {
if (defined('SIMPLE_TEST')) {
return '';
return 'test';
}
global $conf;
$file = $conf['metadir'].'/_htcookiesalt';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment