More auth role fixes (#17067)

* simplify check and handle comma separated roles

* spacing
This commit is contained in:
Josh Hawkins authored and GitHub committed 2025-03-10 10:00:35 -05:00
1 parent cb25bd4a88
commit 2be5225440
2 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
return (
<div className={cn("grid gap-6", className)} {...props}>
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)}>
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
<FormField
name="user"
render={({ field }) => (