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">
|
<div className="flex gap-16">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<div className="w-72">
|
<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>
|
<h2 className="text-base text-slate-400"></h2>
|
||||||
</div>
|
</div>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
@@ -556,7 +556,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
|
|||||||
<div className="flex gap-16">
|
<div className="flex gap-16">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<div className="w-72">
|
<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>
|
<h2 className="text-base text-slate-400"></h2>
|
||||||
</div>
|
</div>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|||||||
@@ -704,7 +704,7 @@ function SavedTaskForm({ initialValues }: Props) {
|
|||||||
<div className="flex gap-16">
|
<div className="flex gap-16">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<div className="w-72">
|
<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>
|
<h2 className="text-base text-slate-400"></h2>
|
||||||
</div>
|
</div>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
@@ -730,7 +730,7 @@ function SavedTaskForm({ initialValues }: Props) {
|
|||||||
<div className="flex gap-16">
|
<div className="flex gap-16">
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
<div className="w-72">
|
<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>
|
<h2 className="text-base text-slate-400"></h2>
|
||||||
</div>
|
</div>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
|||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
<Label className="text-xs text-slate-300">
|
<Label className="text-xs text-slate-300">
|
||||||
TOTP Verification URL
|
2FA Verification URL
|
||||||
</Label>
|
</Label>
|
||||||
<AutoResizingTextarea
|
<AutoResizingTextarea
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
@@ -404,9 +404,7 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
<Label className="text-xs text-slate-300">
|
<Label className="text-xs text-slate-300">2FA Identifier</Label>
|
||||||
Unique Identifier
|
|
||||||
</Label>
|
|
||||||
<AutoResizingTextarea
|
<AutoResizingTextarea
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
if (!editable) {
|
if (!editable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user