X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fsecurity.php;h=05371f71ca55d1a44559480ffc2c350197cc3add;hb=47fd9226c3f0b90f460fe2031fa46cbb49a87100;hp=afb37a72d8ac0e0d456cef00898e10385ec292e8;hpb=2ff494d899f239e6005a073b503d5c24b77119eb;p=friendica.git diff --git a/include/security.php b/include/security.php index afb37a72d8..05371f71ca 100644 --- a/include/security.php +++ b/include/security.php @@ -55,7 +55,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive $a->user = $user_record; if($interactive) { - if($a->user['login_date'] === '0000-00-00 00:00:00') { + if ($a->user['login_date'] <= NULL_DATE) { $_SESSION['return_url'] = 'profile_photo/new'; $a->module = 'profile_photo'; info( t("Welcome ") . $a->user['username'] . EOL);