Checks if the user is authenticated and is not verified. Redirects them to the dashboard if they are not.
The locals object of RequestEvent.
The cookies object of RequestEvent.
The URL object.
void
Checks if the user is authenticated and is not verified. Redirects them to the dashboard if they are not.