aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--migrations/01-default-data.sql6
-rw-r--r--views/img/user-star.svg2
2 files changed, 6 insertions, 2 deletions
diff --git a/migrations/01-default-data.sql b/migrations/01-default-data.sql
index 5168d41..e259438 100644
--- a/migrations/01-default-data.sql
+++ b/migrations/01-default-data.sql
@@ -1,4 +1,8 @@
USE nwfh;
INSERT IGNORE INTO Users (Username, Password, Role)
-VALUES ("Anon", "", "User");
+VALUES
+ -- Anon cannot be logged into
+ ("Anon", "", "User"),
+ -- Admin password is "Admin"
+ ("Admin", "$2y$10$uAlsPtyuQm/xrKIKGTnnl.VSEKcq6hpKk2ndJGYF3x1YHvTLHY.ai", "Admin");
diff --git a/views/img/user-star.svg b/views/img/user-star.svg
index 5245f4e..c59b907 100644
--- a/views/img/user-star.svg
+++ b/views/img/user-star.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="user-admin"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0" /><path d="M6 21v-2a4 4 0 0 1 4 -4h.5" /><path d="M17.8 20.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" /></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="user-admin"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0" /><path d="M6 21v-2a4 4 0 0 1 4 -4h.5" /><path d="M17.8 20.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" /></svg>