diff --git a/client/admin/src/app/app.component.html b/client/admin/src/app/app.component.html
index 7e3a0a0..b95b36f 100644
--- a/client/admin/src/app/app.component.html
+++ b/client/admin/src/app/app.component.html
@@ -194,6 +194,21 @@
}
+@else {
+
+}
@@ -285,8 +300,17 @@
+@if (auth.loggedIn) {
+}
+@else {
+
+}
diff --git a/client/admin/src/app/login/auth.service.ts b/client/admin/src/app/login/auth.service.ts
index f637668..ecb05f7 100644
--- a/client/admin/src/app/login/auth.service.ts
+++ b/client/admin/src/app/login/auth.service.ts
@@ -27,7 +27,7 @@ export class AuthService {
login(username: string, password: string): Observable> {
return this.http
.post(
- '/login',
+ '/api/login',
{ username: username, password: password },
{ observe: 'response' },
)