You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to stop any middleware by calling next(false)?
Right now, calling next(false) will result in a Page Not Found exception, would it be possible to throw another kind of exception (Redirect ?)
This is a situation which occurs when redirecting to a login page when the user is not authenticated.
Let me know your thought.
The text was updated successfully, but these errors were encountered:
Is there a way to stop any middleware by calling
next(false)
?Right now, calling
next(false)
will result in aPage Not Found
exception, would it be possible to throw another kind of exception (Redirect ?)This is a situation which occurs when redirecting to a login page when the user is not authenticated.
Let me know your thought.
The text was updated successfully, but these errors were encountered: