We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19a4d3 commit 6fe7fb2Copy full SHA for 6fe7fb2
src/OrchardCore.Modules/OrchardCore.Users/Views/UserFields.cshtml
@@ -11,6 +11,12 @@
11
<i class="fa-solid fa-envelope-open" aria-hidden="true"></i> @T["Unconfirmed"]
12
</span>
13
}
14
+@if (await UserManager.IsLockedOutAsync(Model.User))
15
+{
16
+ <span class="badge text-bg-danger ms-2" title="@T["The user is currently locked out."]">
17
+ <i class="fa-solid fa-lock" aria-hidden="true"></i> @T["Locked"]
18
+ </span>
19
+}
20
@if (!Model.User.IsEnabled)
21
{
22
<span class="badge text-bg-danger ms-2" title="@T["Disabled"]">
0 commit comments