You are here

logintoboggan.routing.yml in LoginToboggan 8

File

logintoboggan.routing.yml
View source
  1. logintoboggan.user_validate:
  2. path: '/user/validate/{user}/{timestamp}/{hashed_pass}/{operation}'
  3. defaults:
  4. _title: 'Validate e-mail address'
  5. _controller: '\Drupal\logintoboggan\Controller\LogintobogganController::logintobogganValidateEmail'
  6. operation: 'login'
  7. requirements:
  8. _logintoboggan_validate_email_access: 'TRUE'
  9. logintoboggan.user_revalidate:
  10. path: '/toboggan/revalidate/{user}'
  11. defaults:
  12. _title: 'Re-send validation e-mail'
  13. _controller: '\Drupal\logintoboggan\Controller\LogintobogganController::logintobogganResendValidation'
  14. requirements:
  15. _logintoboggan_revalidate_access: 'TRUE'
  16. logintoboggan.denied:
  17. path: '/toboggan/denied'
  18. defaults:
  19. _title: 'Access denied'
  20. _controller: '\Drupal\logintoboggan\Controller\LogintobogganController::logintobogganDenied'
  21. requirements:
  22. # Access control not required as route just serves login to anon users.
  23. _access: 'TRUE'
  24. logintobogganform.settings:
  25. path: '/admin/config/people/logintoboggan'
  26. defaults:
  27. _form: '\Drupal\logintoboggan\Form\LogintobogganSettingsForm'
  28. _title: 'LoginToboggan'
  29. requirements:
  30. _permission: 'administer account settings'