summaryrefslogtreecommitdiff
path: root/src/application/actions/pwreset/get.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/actions/pwreset/get.php')
-rw-r--r--src/application/actions/pwreset/get.php16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/application/actions/pwreset/get.php b/src/application/actions/pwreset/get.php
index c66b28d..35b93f0 100644
--- a/src/application/actions/pwreset/get.php
+++ b/src/application/actions/pwreset/get.php
@@ -11,19 +11,7 @@ if ($token !== null && $signature !== null) {
exit;
}
- _view("template_start", [ "_title" => __("Reset password") ]);
- _view("template_navigation_start");
- _view("template_navigation_end");
- _view("form_new_password", [
- "token" => $token,
- "signature" => $signature,
- ]);
- _view("template_end", [...getThemeAndLangInfo()]);
+ render("new_password.twig");
} else {
- _view("template_start", [ "_title" => __("Reset password") ]);
- _view("template_navigation_start");
- _view("template_navigation", ["user" => null]);
- _view("template_navigation_end");
- _view("form_password_reset");
- _view("template_end", [...getThemeAndLangInfo()]);
+ render("password_reset.twig");
}