Skip to content

Instantly share code, notes, and snippets.

@typo3ua
Created May 23, 2019 13:49
Show Gist options
  • Save typo3ua/fc84abb19276f20ba896f9200edb7ab2 to your computer and use it in GitHub Desktop.
Save typo3ua/fc84abb19276f20ba896f9200edb7ab2 to your computer and use it in GitHub Desktop.
URL Routing for felogin
routeEnhancers:
ForgotPassword:
type: Plugin
limitToPages: [26]
namespace: 'tx_felogin_pi1'
routePath: '/forgot/password/{forgot}'
defaults:
forgot: '1'
requirements:
forgot: '^[1]{1}$'
ResetPassword:
type: Plugin
limitToPages: [26]
namespace: 'tx_felogin_pi1'
routePath: '/reset/password/{forgothash}/{user}'
requirements:
forgothash: '^[a-zA-Z0-9%]$'
user: '[0-9]{1..3}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment