Integrate new server authentication to client
Changes:
- Use server authentication REST API
- Log in automatically after registration
- Store token in localStorage
- Give feedback to user if registration or login fails
GitLab: #75
Change-Id: Ib90e5b911621567c6825af5e275920d703cdfe88
diff --git a/client/vite.config.ts b/client/vite.config.ts
index f62be3c..e984a81 100644
--- a/client/vite.config.ts
+++ b/client/vite.config.ts
@@ -24,7 +24,7 @@
host: '0.0.0.0',
port: 3000,
proxy: {
- '^/(api)|^/(auth)|^/(setup)': {
+ '^/(api)|^/(setup)': {
target: 'http://localhost:3001',
secure: false,
},