Add setting form item for requiring account approval

dhcp-server
Pat Hartl 2023-08-11 13:45:45 -05:00
parent 9cc11fd666
commit aa011461d7
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
<div style="padding: 0 24px;">
<Form Model="Settings" Layout="@FormLayout.Vertical">
<FormItem Label="Require Account Approval">
<Switch @bind-Checked="context.Authentication.RequireApproval" />
</FormItem>
<FormItem Label="Token Secret">
<InputPassword @bind-Value="context.Authentication.TokenSecret" />
</FormItem>