aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-03 17:38:17 -0700
committerredmatrix <git@macgirvin.com>2016-04-03 17:38:17 -0700
commita703835b5cdbe737be98374a51363426083fee8f (patch)
tree9c561d2add476833c6ea4147ecf69518cad9003e /include/auth.php
parentbf3f3564e08754c3f91524798523839ae7b9094c (diff)
downloadvolse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.gz
volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.bz2
volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.zip
Bug: "remember me" doesn't
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/auth.php b/include/auth.php
index aaec45c40..228143e12 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -246,7 +246,7 @@ else {
notice( t('Failed authentication') . EOL);
}
- logger('authenticate: ' . print_r(App::$account, true), LOGGER_DEBUG);
+ logger('authenticate: ' . print_r(App::$account, true), LOGGER_ALL);
}
if((! $record) || (! count($record))) {
@@ -274,7 +274,7 @@ else {
// (i.e. expire when the browser is closed), even when there's a time expiration
// on the cookie
- if($_POST['remember']) {
+ if($_POST['remember_me']) {
new_cookie(31449600); // one year
}
else {