diff options
author | friendica <info@friendica.com> | 2014-09-09 18:23:50 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-09 18:23:50 -0700 |
commit | c11fc95d97d5ef14f61a912883fff2f1ddfdbabc (patch) | |
tree | 1e2971cfb8ecddf3dd7efb4bffab6303aa7abb07 /include | |
parent | 18f8f0836754024db587a622a2026aee9896ea93 (diff) | |
download | volse-hubzilla-c11fc95d97d5ef14f61a912883fff2f1ddfdbabc.tar.gz volse-hubzilla-c11fc95d97d5ef14f61a912883fff2f1ddfdbabc.tar.bz2 volse-hubzilla-c11fc95d97d5ef14f61a912883fff2f1ddfdbabc.zip |
in case somebody has problems and does an update to try and fix it, put something in the logs to show what's happening.
Diffstat (limited to 'include')
-rw-r--r-- | include/auth.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php index cc07917b7..0e3f8bbaa 100644 --- a/include/auth.php +++ b/include/auth.php @@ -60,6 +60,19 @@ function account_verify_password($email,$pass) { } $error = 'password failed for ' . $email; logger($error); + + + if($record['account_flags'] & ACCOUNT_UNVERIFIED) + logger('Account is unverified.'); + if($record['account_flags'] & ACCOUNT_BLOCKED) + logger('Account is blocked.'); + if($record['account_flags'] & ACCOUNT_EXPIRED) + logger('Account is expired.'); + if($record['account_flags'] & ACCOUNT_REMOVED) + logger('Account is removed.'); + if($record['account_flags'] & ACCOUNT_PENDING) + logger('Account is pending.'); + // Also log failed logins to a separate auth log to reduce overhead for server side intrusion prevention $authlog = get_config('system', 'authlog'); if ($authlog) |