Hide the token secret using a password field in settings

This commit is contained in:
Pat Hartl 2023-08-08 21:23:08 -05:00
parent 5c8fede253
commit 2950f5628f

View file

@ -10,7 +10,7 @@
<div style="padding: 0 24px;">
<Form Model="Settings" Layout="@FormLayout.Vertical">
<FormItem Label="Token Secret">
<Input @bind-Value="context.Authentication.TokenSecret" />
<InputPassword @bind-Value="context.Authentication.TokenSecret" />
</FormItem>
<FormItem Label="Token Lifetime">
<AntDesign.InputNumber @bind-Value="context.Authentication.TokenLifetime" Formatter="FormatTokenLifetime" Min="1" />