RequireLoggedinWebHareUser (open)

Require the current request to be from a logged in WebHare user

Syntax

LOADLIB "mod::system/lib/userrights.whlib";

OBJECT FUNCTION RequireLoggedinWebHareUser()

Return value

OBJECT

Loggedin user (throws if not logged in)

Description

Redirects to the WebHare interface if necessary. This function sets up separate cookies to record the login status which aren't necessarily cleared if the WebHare user logs out (as that will often happen on a separate domain)