Change TOTP Labels to 2FA and ensure consistency between task block a… (#949)
Co-authored-by: wintonzheng <null>
This commit is contained in:
@@ -530,7 +530,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
|
||||
<div className="flex gap-16">
|
||||
<FormLabel>
|
||||
<div className="w-72">
|
||||
<h1 className="text-lg">TOTP Verification URL</h1>
|
||||
<h1 className="text-lg">2FA Verification URL</h1>
|
||||
<h2 className="text-base text-slate-400"></h2>
|
||||
</div>
|
||||
</FormLabel>
|
||||
@@ -556,7 +556,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
|
||||
<div className="flex gap-16">
|
||||
<FormLabel>
|
||||
<div className="w-72">
|
||||
<h1 className="text-lg">TOTP Identifier</h1>
|
||||
<h1 className="text-lg">2FA Identifier</h1>
|
||||
<h2 className="text-base text-slate-400"></h2>
|
||||
</div>
|
||||
</FormLabel>
|
||||
|
||||
@@ -704,7 +704,7 @@ function SavedTaskForm({ initialValues }: Props) {
|
||||
<div className="flex gap-16">
|
||||
<FormLabel>
|
||||
<div className="w-72">
|
||||
<h1 className="text-lg">TOTP Verification URL</h1>
|
||||
<h1 className="text-lg">2FA Verification URL</h1>
|
||||
<h2 className="text-base text-slate-400"></h2>
|
||||
</div>
|
||||
</FormLabel>
|
||||
@@ -730,7 +730,7 @@ function SavedTaskForm({ initialValues }: Props) {
|
||||
<div className="flex gap-16">
|
||||
<FormLabel>
|
||||
<div className="w-72">
|
||||
<h1 className="text-lg">TOTP Identifier</h1>
|
||||
<h1 className="text-lg">2FA Identifier</h1>
|
||||
<h2 className="text-base text-slate-400"></h2>
|
||||
</div>
|
||||
</FormLabel>
|
||||
|
||||
@@ -389,7 +389,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-slate-300">
|
||||
TOTP Verification URL
|
||||
2FA Verification URL
|
||||
</Label>
|
||||
<AutoResizingTextarea
|
||||
onChange={(event) => {
|
||||
@@ -404,9 +404,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
||||
/>
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-slate-300">
|
||||
Unique Identifier
|
||||
</Label>
|
||||
<Label className="text-xs text-slate-300">2FA Identifier</Label>
|
||||
<AutoResizingTextarea
|
||||
onChange={(event) => {
|
||||
if (!editable) {
|
||||
|
||||
Reference in New Issue
Block a user