diff --git a/src/app/models/user.ts b/src/app/models/user.ts index 472eaac..5381ae1 100644 --- a/src/app/models/user.ts +++ b/src/app/models/user.ts @@ -1,21 +1,15 @@ export class AuthUser { request_token: string; refresh_token: string; - user: { - id: number; - name: string; - email: string; - attributes : { - profile_url: string; - } - } - + user: User; } export class User { id: number; name: string; email: string; + own_password: string; + password: string; attributes : { profile_url: string; } diff --git a/src/app/pages/profile/profile.component.html b/src/app/pages/profile/profile.component.html index 1199841..7720d6c 100644 --- a/src/app/pages/profile/profile.component.html +++ b/src/app/pages/profile/profile.component.html @@ -1,7 +1,7 @@

Profil aktualisieren

- + Aktuelles Passwort --> - - + Neues Passwort {{ hide ? "visibility_off" : "visibility" }} - + Passwort wiederholen -