From: Raphaƫl Gertz Date: Wed, 15 Sep 2021 15:30:33 +0000 (+0200) Subject: Reorder fields X-Git-Tag: 0.2.0~4 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/79d1314d7f0ad233d048ba42dec183063dd796b3?ds=inline;hp=37b9ab0e1599ae13e17ecf0bfd9ae4d9ebb2d815 Reorder fields Cleanup --- 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: