Skip to content

Commit 9c91d17

Browse files
committed
hide disable mfa form when editing yourself
1 parent 6cb82c2 commit 9c91d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/app/user/user-update.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ <h1 id="jhi-ms-user-heading" class="mt-5" i18n="@@gatewayApp.msUserServiceMSUser
155155
role="form"
156156
novalidate
157157
[formGroup]="mfaForm"
158-
*ngIf="existentUser && existentUser.id && hasRoleAdmin()"
158+
*ngIf="existentUser && existentUser.id && existentUser.id != currentAccount?.id && hasRoleAdmin()"
159159
>
160160
<hr class="mb-32 mt-32" />
161161
<h2 class="mb-8 font-size-18">

0 commit comments

Comments
 (0)