aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-09 18:26:40 -0700
committerfriendica <info@friendica.com>2014-09-09 18:26:40 -0700
commit5ede60e742e8dcb974d0b2f7f7a2f4300eb26713 (patch)
tree2fedd9e0a3576cf35e4ed24ee05416d320340513 /include/auth.php
parentc11fc95d97d5ef14f61a912883fff2f1ddfdbabc (diff)
downloadvolse-hubzilla-5ede60e742e8dcb974d0b2f7f7a2f4300eb26713.tar.gz
volse-hubzilla-5ede60e742e8dcb974d0b2f7f7a2f4300eb26713.tar.bz2
volse-hubzilla-5ede60e742e8dcb974d0b2f7f7a2f4300eb26713.zip
and provide a strong hint by showing the errant account_flags
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/auth.php b/include/auth.php
index 0e3f8bbaa..f8188f443 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -63,15 +63,15 @@ function account_verify_password($email,$pass) {
if($record['account_flags'] & ACCOUNT_UNVERIFIED)
- logger('Account is unverified.');
+ logger('Account is unverified. account_flags = ' . $record['account_flags']);
if($record['account_flags'] & ACCOUNT_BLOCKED)
- logger('Account is blocked.');
+ logger('Account is blocked. account_flags = ' . $record['account_flags']);
if($record['account_flags'] & ACCOUNT_EXPIRED)
- logger('Account is expired.');
+ logger('Account is expired. account_flags = ' . $record['account_flags']);
if($record['account_flags'] & ACCOUNT_REMOVED)
- logger('Account is removed.');
+ logger('Account is removed. account_flags = ' . $record['account_flags']);
if($record['account_flags'] & ACCOUNT_PENDING)
- logger('Account is pending.');
+ logger('Account is pending. account_flags = ' . $record['account_flags']);
// Also log failed logins to a separate auth log to reduce overhead for server side intrusion prevention
$authlog = get_config('system', 'authlog');