Variables

{{ auth_action }}

{{ auth_action }} prints the current authentication action.

Example#

phpresources/views/auth/login.php
{{ if auth_action == "lost-password" }}  <h1>Reset your password</h1>{{ else }}  <h1>Log in</h1>{{ /if }}

Use it inside custom login templates when one view needs to react to the current auth screen.