summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 0b4ed8113..0266899a8 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -140,7 +140,7 @@ function auth_browseruid(){
* Creates a random key to encrypt the password in cookies
*
* This function tries to read the password for encrypting
- * cookies from $conf['datadir'].'/.cache/cookiesalt'
+ * cookies from $conf['datadir'].'/.cache/.htcookiesalt'
* if no such file is found a random key is created and
* and stored in this file.
*
@@ -150,7 +150,7 @@ function auth_browseruid(){
*/
function auth_cookiesalt(){
global $conf;
- $file = $conf['datadir'].'/.cache/cookiesalt';
+ $file = $conf['datadir'].'/.cache/.htcookiesalt';
$salt = io_readFile($file);
if(empty($salt)){
$salt = uniqid(rand(),true);