Changeset 1db5673 for Farmatiko/ClientApp/src/app/shared/services
- Timestamp:
- 11/14/20 12:27:30 (4 years ago)
- Branches:
- master
- Children:
- 68454c6
- Parents:
- ad60966
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/shared/services/auth.service.ts
rad60966 r1db5673 9 9 10 10 interface LoginResult { 11 user name: string;11 userName: string; 12 12 role: string; 13 13 originalUserName?: string; … … 36 36 this.http.get<LoginResult>(`${this.apiUrl}/user`).subscribe((x) => { 37 37 this._user.next({ 38 Email: x.user name,38 Email: x.userName, 39 39 Passwd: x.head.Passwd, 40 40 Role: x.role, … … 64 64 map((x) => { 65 65 this._user.next({ 66 Email: x.user name,66 Email: x.userName, 67 67 Passwd: x.head.Passwd, 68 68 Role: x.role, … … 105 105 map((x) => { 106 106 this._user.next({ 107 Email: x.user name,107 Email: x.userName, 108 108 Passwd: x.head.Passwd, 109 109 Role: x.role,
Note:
See TracChangeset
for help on using the changeset viewer.