From 68f2a91630a2fe4aef6b40179c6ab6f905e596e1 Mon Sep 17 00:00:00 2001 From: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com> Date: Sat, 24 May 2025 13:32:38 +0200 Subject: [PATCH] NEW: Remove English text from the Spanish translation (#700) (#1079) --- docs/security/authentication.es.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/security/authentication.es.md b/docs/security/authentication.es.md index f58b8647..e298968e 100644 --- a/docs/security/authentication.es.md +++ b/docs/security/authentication.es.md @@ -765,8 +765,6 @@ Al proteger rutas en una API, tradicionalmente se devuelve una respuesta HTTP co let protectedRoutes = app.grouped(User.redirectMiddleware(path: "/login?loginRequired=true")) ``` -The `RedirectMiddleware` object also supports passing a closure that returns the redirect path as a `String` during creation for advanced url handling. For instance, including the path redirected from as query parameter to the redirect target for state management. - El objeto `RedirectMiddleware` también admite pasar un closure que devuelve la ruta de redireccionamiento como un `String` durante la creación para un manejo avanzado de URL. Por ejemplo, incluye la ruta redirigida como parámetro de consulta al destino de redirección para la gestión del estado. ```swift