diff --git a/public_html/dispatch.php b/public_html/dispatch.php index 4d5413df..281f5100 100644 --- a/public_html/dispatch.php +++ b/public_html/dispatch.php @@ -141,8 +141,10 @@ foreach (['GET', 'POST'] as $method) \Chibi\Router::register(['UserController', 'settingsAction'], $method, '/user/{name}/settings', $userValidations); \Chibi\Router::register(['UserController', 'editAction'], $method, '/user/{name}/edit', $userValidations); \Chibi\Router::register(['UserController', 'activationAction'], $method, '/activation/{token}', $userValidations); + \Chibi\Router::register(['UserController', 'activationProxyAction'], $method, '/activation-proxy', $userValidations); \Chibi\Router::register(['UserController', 'activationProxyAction'], $method, '/activation-proxy/{token}', $userValidations); \Chibi\Router::register(['UserController', 'passwordResetAction'], $method, '/password-reset/{token}', $userValidations); + \Chibi\Router::register(['UserController', 'passwordResetProxyAction'], $method, '/password-reset-proxy', $userValidations); \Chibi\Router::register(['UserController', 'passwordResetProxyAction'], $method, '/password-reset-proxy/{token}', $userValidations); \Chibi\Router::register(['UserController', 'toggleSafetyAction'], $method, '/user/toggle-safety/{safety}', $userValidations); } diff --git a/src/Views/user-registration.phtml b/src/Views/user-registration.phtml index 6b4cf214..151cd367 100644 --- a/src/Views/user-registration.phtml +++ b/src/Views/user-registration.phtml @@ -2,7 +2,7 @@ Assets::setSubTitle('registration form'); ?> -context->transport->success === true): ?> +context->transport->message)): ?> context) ?> context->transport->success === true): ?> +context->transport->message)): ?> context) ?>