diff --git a/client/src/models/User.ts b/client/src/models/User.ts index 0357dce..5df874b 100644 --- a/client/src/models/User.ts +++ b/client/src/models/User.ts @@ -6,16 +6,16 @@ export interface UserDto { createdAt: string; email: string; id: string; - username: string; + userName: string; } export interface RegisterDto { - username: string; + userName: string; email: string; password: string; } export interface LoginDto { - username: string; + userName: string; password: string; } diff --git a/client/src/pages/LoginForm.vue b/client/src/pages/LoginForm.vue index ffe445f..2678e15 100644 --- a/client/src/pages/LoginForm.vue +++ b/client/src/pages/LoginForm.vue @@ -10,7 +10,7 @@ import * as authApi from "../api/AuthApi"; const router = useRouter(); const user = reactive({ // the template ensures type consistency - username: "", + userName: "", password: "", }); @@ -40,7 +40,7 @@ async function login(): Promise {

Login

- + diff --git a/client/src/pages/RegisterForm.vue b/client/src/pages/RegisterForm.vue index 28a461c..e0a7ef4 100644 --- a/client/src/pages/RegisterForm.vue +++ b/client/src/pages/RegisterForm.vue @@ -10,7 +10,7 @@ import * as authApi from "../api/AuthApi"; const router = useRouter(); const user = reactive({ // the template ensures type consistency - username: "", + userName: "", email: "", password: "", }); @@ -40,7 +40,7 @@ async function register(): Promise {

Register

- + diff --git a/client/src/pages/UsersList.vue b/client/src/pages/UsersList.vue index 3041bfc..670ab3f 100644 --- a/client/src/pages/UsersList.vue +++ b/client/src/pages/UsersList.vue @@ -26,7 +26,7 @@ function logout() { - +
{{ user.username }}{{ user.userName }}