summaryrefslogtreecommitdiff
path: root/src/web/_model/apps/auth.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-01 11:09:25 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-01 11:09:25 -0400
commit3a82baec9d793edf81ac2b151b0f4d4159641375 (patch)
treef9d50c296b078ac48c2a2391c172c3ccf37edb3f /src/web/_model/apps/auth.php
parentrefactor asset dir, refactor oberver in lib (diff)
downloadxssbook2-3a82baec9d793edf81ac2b151b0f4d4159641375.tar.gz
xssbook2-3a82baec9d793edf81ac2b151b0f4d4159641375.tar.bz2
xssbook2-3a82baec9d793edf81ac2b151b0f4d4159641375.zip
login and register, liking on homepage
Diffstat (limited to 'src/web/_model/apps/auth.php')
-rw-r--r--src/web/_model/apps/auth.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/web/_model/apps/auth.php b/src/web/_model/apps/auth.php
new file mode 100644
index 0000000..a1802de
--- /dev/null
+++ b/src/web/_model/apps/auth.php
@@ -0,0 +1,13 @@
+<?php /* Copyright (c) 2024 Freya Murphy */
+class Auth_model extends Model {
+
+ function __construct($load) {
+ parent::__construct($load);
+ }
+
+ public function get_data(): array {
+ $data = parent::get_data();
+ $data['title'] = lang('login');
+ return $data;
+ }
+}