From 79d1314d7f0ad233d048ba42dec183063dd796b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 15 Sep 2021 17:30:33 +0200 Subject: [PATCH] Reorder fields Cleanup --- Resources/config/routes/rapsys_user.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Resources/config/routes/rapsys_user.yaml b/Resources/config/routes/rapsys_user.yaml index e2af83c..b67c83f 100644 --- a/Resources/config/routes/rapsys_user.yaml +++ b/Resources/config/routes/rapsys_user.yaml @@ -2,19 +2,19 @@ rapsys_user_confirm: path: /confirm/{hash}/{mail} controller: Rapsys\UserBundle\Controller\DefaultController::registerMail requirements: - mail: '[a-zA-Z0-9=_-]+' hash: '[a-zA-Z0-9=_-]+' + mail: '[a-zA-Z0-9=_-]+' methods: GET|POST rapsys_user_login: path: /login/{hash}/{mail} controller: Rapsys\UserBundle\Controller\DefaultController::login defaults: - mail: ~ hash: ~ + mail: ~ requirements: - mail: '[a-zA-Z0-9=_-]+' hash: '[a-zA-Z0-9=_-]+' + mail: '[a-zA-Z0-9=_-]+' methods: GET|POST rapsys_user_logout: @@ -25,34 +25,34 @@ rapsys_user_recover: path: /recover/{hash}/{pass}/{mail} controller: Rapsys\UserBundle\Controller\DefaultController::recover defaults: - mail: ~ - pass: ~ hash: ~ + pass: ~ + mail: ~ requirements: - mail: '[a-zA-Z0-9=_-]+' - pass: '[a-zA-Z0-9=_-]+' hash: '[a-zA-Z0-9=_-]+' + pass: '[a-zA-Z0-9=_-]+' + mail: '[a-zA-Z0-9=_-]+' methods: GET|POST rapsys_user_register: path: /register/{hash}/{field}/{mail} controller: Rapsys\UserBundle\Controller\DefaultController::register defaults: - mail: ~ - field: ~ hash: ~ + field: ~ + mail: ~ requirements: - mail: '[a-zA-Z0-9=_-]+' - field: '[a-zA-Z0-9=_-]+' hash: '[a-zA-Z0-9=_-]+' + field: '[a-zA-Z0-9=_-]+' + mail: '[a-zA-Z0-9=_-]+' methods: GET|POST rapsys_user_edit: path: /user/{hash}/{mail} controller: Rapsys\UserBundle\Controller\DefaultController::edit requirements: - mail: '[a-zA-Z0-9=_-]+' hash: '[a-zA-Z0-9=_-]+' + mail: '[a-zA-Z0-9=_-]+' methods: GET|POST rapsys_user_index: -- 2.41.0