File tree Expand file tree Collapse file tree 1 file changed +26
-32
lines changed
apps/web/app/app.dub.co/(dashboard)/account/settings/security Expand file tree Collapse file tree 1 file changed +26
-32
lines changed Original file line number Diff line number Diff line change @@ -37,38 +37,32 @@ export const RequestSetPassword = () => {
3737 } ;
3838
3939 return (
40- < div className = "rounded-xl border border-neutral-200 bg-white p-6" >
41- < div className = "flex flex-col space-y-1 border-b border-neutral-200" >
42- < h2 className = "text-base font-semibold" > Password</ h2 >
43- < p className = "pb-2 text-sm text-neutral-500" >
44- { user ?. provider && (
45- < >
46- Your account is managed by{ " " }
47- < span
48- className = { cn (
49- "font-medium capitalize text-neutral-700" ,
50- user ?. provider === "saml" && "uppercase" ,
51- ) }
52- >
53- { user ?. provider }
54- </ span >
55- .{ " " }
56- </ >
57- ) }
58- You can set a password to use with your Dub account.
59- </ p >
60- </ div >
61- < div className = "flex items-center justify-start" >
62- < div className = "shrink-0" >
63- < Button
64- text = "Create account password"
65- onClick = { sendPasswordSetRequest }
66- loading = { sending }
67- disabled = { sending }
68- className = "w-fit"
69- />
70- </ div >
71- </ div >
40+ < div className = "flex flex-col gap-2 rounded-xl border border-neutral-200 bg-white p-6" >
41+ < h2 className = "text-base font-semibold" > Password</ h2 >
42+ < p className = "pb-2 text-sm text-neutral-500" >
43+ { user ?. provider && (
44+ < >
45+ Your account is managed by{ " " }
46+ < span
47+ className = { cn (
48+ "font-medium capitalize text-neutral-700" ,
49+ user ?. provider === "saml" && "uppercase" ,
50+ ) }
51+ >
52+ { user ?. provider }
53+ </ span >
54+ .{ " " }
55+ </ >
56+ ) }
57+ You can set a password to use with your Dub account.
58+ </ p >
59+ < Button
60+ text = "Create account password"
61+ onClick = { sendPasswordSetRequest }
62+ loading = { sending }
63+ disabled = { sending }
64+ className = "w-fit"
65+ />
7266 </ div >
7367 ) ;
7468} ;
You can’t perform that action at this time.
0 commit comments