X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fauth.php;h=d301f870556d5f79094bf5f7fdab06d1c34d6c89;hb=f65d6531cafe625d6be011e135d132ae48fc7c06;hp=5dfe9d3e062aa7865ab5a9f8db87412d438b986f;hpb=4a473611163a12b48d3bbad71dc54765be8789f9;p=friendica.git diff --git a/include/auth.php b/include/auth.php index 5dfe9d3e06..d301f87055 100644 --- a/include/auth.php +++ b/include/auth.php @@ -29,7 +29,7 @@ if (isset($_COOKIE["Friendica"])) { new_cookie($authcookiedays*24*60*60, $r[0]); // Do the authentification if not done by now - if (!isset($_SESSION) OR !isset($_SESSION['authenticated'])) { + if (!isset($_SESSION) || !isset($_SESSION['authenticated'])) { authenticate_success($r[0]); if (get_config('system','paranoia'))