Skip to content

Commit 95b6f41

Browse files
xingzhang-suselsongsuse
authored andcommitted
#1179 [UI] 'Show advance setting' button is not displayed when creating user
1 parent f1e7683 commit 95b6f41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

admin/webapp/websrc/app/common/api/auth-http.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface LicenseResponse {
3131
}
3232

3333
interface PublicPasswordProfileResponse {
34-
pwd_profiles: PublicPasswordProfile;
34+
pwd_profile: PublicPasswordProfile;
3535
}
3636

3737
interface RoleResponse {
@@ -213,7 +213,7 @@ export class AuthHttpService {
213213
getPublicPwdProfile(): Observable<PublicPasswordProfile> {
214214
return GlobalVariable.http
215215
.get<PublicPasswordProfileResponse>(PathConstant.PUBLIC_PASSWORD_PROFILE)
216-
.pipe(map(r => r.pwd_profiles));
216+
.pipe(map(r => r.pwd_profile));
217217
}
218218

219219
patchPwdProfile(profile: PasswordProfile): Observable<unknown> {

0 commit comments

Comments
 (0)