• Checks if the user is anonymous. Redirects home if they are not.

    Parameters

    • locals: any

      The locals object of RequestEvent.

    Returns void

    void