Template directive: auth

The @auth: directive is a wrapper directive that is used to add a particular section of a web page only when the user session is active. In the event that the user session is not active, the @auth: section will never be added to the web page.
auth: auth;
Example: A Sample Authenticated Section
  @auth:
  Welcome user //displays only in active session
  @auth;
                
From the above, once the user section becomes active, the code block will be added to the web page.