summaryrefslogtreecommitdiff
path: root/src/web/_controller/modal.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/web/_controller/modal.php (renamed from web/_controller/modal.php)8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/_controller/modal.php b/src/web/_controller/modal.php
index 9ae4ca8..03074d4 100644
--- a/web/_controller/modal.php
+++ b/src/web/_controller/modal.php
@@ -20,6 +20,14 @@ class Modal_controller extends Controller {
public function new_post(): void {
$this->modal('new_post');
}
+
+ public function register(): void {
+ $this->load->app_lang(
+ $this->main->info['lang'],
+ 'auth'
+ );
+ $this->modal('register');
+ }
}
?>