From 9d207f2e5b50e78afea31b1b09eae8a4645fae64 Mon Sep 17 00:00:00 2001 From: Christopher Saez Date: Wed, 8 Mar 2017 23:29:43 +0100 Subject: [PATCH] Update LoginRedirectMiddleware.md What -> when more explanation to make it clearer --- auth/LoginRedirectMiddleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/LoginRedirectMiddleware.md b/auth/LoginRedirectMiddleware.md index 8097f3eb..890118e0 100644 --- a/auth/LoginRedirectMiddleware.md +++ b/auth/LoginRedirectMiddleware.md @@ -4,7 +4,7 @@ currentMenu: LoginRedirectMiddleware # Login Redirect Middleware -`LoginRedirectMiddleware` is a Middleware to be used when you what to create an automatic redirection from any routes when the user is not authenticated. +`LoginRedirectMiddleware` is a Middleware to be used when you want to create an automatic redirection from any routes when the user is not authenticated. Users that want to access to a protected route will be redirected to a single route. ## Example In your main.swift file: