aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-22 13:33:18 -0800
committerfriendica <info@friendica.com>2014-02-22 13:33:18 -0800
commit075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab (patch)
treea36cf6f0ba6a92e36074c641271249c783b0376c /include/security.php
parent9c4c0e6d2313fc7d09e315f2bb39711af4a2774a (diff)
downloadvolse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.gz
volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.bz2
volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.zip
This should resolve the dav authentication loop (correctly)
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/security.php b/include/security.php
index 68dd573f7..f52615357 100644
--- a/include/security.php
+++ b/include/security.php
@@ -32,9 +32,12 @@ function authenticate_success($user_record, $login_initial = false, $interactive
}
- if($login_initial)
+ if($login_initial) {
+
call_hooks('logged_in', $user_record);
-
+
+ // might want to log success here
+ }
if($return || x($_SESSION,'workflow')) {
unset($_SESSION['workflow']);