From 5ede60e742e8dcb974d0b2f7f7a2f4300eb26713 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 9 Sep 2014 18:26:40 -0700 Subject: and provide a strong hint by showing the errant account_flags --- include/auth.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/auth.php') 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'); -- cgit v1.2.3