/trunk/plugins/viathinksoft/publicPages/001_ra_base/OIDplusPagePublicRaBaseUtils.class.php |
---|
46,7 → 46,7 |
$ra_logged_in = OIDplus::authUtils()->isRaLoggedIn($email); |
if (!OIDplus::authUtils()->isAdminLoggedIn() && !$ra_logged_in) { |
throw new OIDplusException(_L('Authentication error. Please log in.')); |
throw new OIDplusException(_L('Authentication error. Please log in.'), null, 401); |
} |
if ($ra_logged_in) OIDplus::authUtils()->raLogout($email); |