File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 70
70
userNameTextInput ?.focus ();
71
71
</script >
72
72
73
- {#if ! AppConfig .AllowRegistration && ! AppConfig .AllowGuests && ! isAdmin }
73
+ {#if AppConfig . OIDCAuthEnabled || ( ! AppConfig .AllowRegistration && ! AppConfig .AllowGuests && ! isAdmin ) }
74
74
<div class =" text-red-500" >
75
75
{$LL .registrationDisabled ()}
76
76
</div >
Original file line number Diff line number Diff line change 37
37
SubscriptionsEnabled,
38
38
Subscription,
39
39
PathPrefix,
40
+ OIDCAuthEnabled,
40
41
} = AppConfig ;
41
42
42
43
function toggleUpdatePassword() {
630
631
</div >
631
632
</div >
632
633
633
- {#if ! LdapEnabled && ! HeaderAuthEnabled }
634
+ {#if ! OIDCAuthEnabled && ! LdapEnabled && ! HeaderAuthEnabled }
634
635
<div class =" w-full text-center mt-8" >
635
636
<HollowButton onClick =" {toggleDeleteAccount }" color =" red" >
636
637
{$LL .deleteAccount ()}
You can’t perform that action at this time.
0 commit comments