[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-01-31 02:34:32 +00:00
committed by GitHub
parent 30c3e44422
commit 61f6bbfe1c
4 changed files with 222 additions and 231 deletions
@@ -120,10 +120,7 @@ export function RegisterOidcDialog({ children }: RegisterOidcDialogProps) {
<FormItem>
<FormLabel>Provider ID</FormLabel>
<FormControl>
<Input
placeholder="e.g. okta or my-idp"
{...field}
/>
<Input placeholder="e.g. okta or my-idp" {...field} />
</FormControl>
<FormDescription>
Unique identifier; used in callback URL path.
@@ -139,10 +136,7 @@ export function RegisterOidcDialog({ children }: RegisterOidcDialogProps) {
<FormItem>
<FormLabel>Issuer URL</FormLabel>
<FormControl>
<Input
placeholder="https://idp.example.com"
{...field}
/>
<Input placeholder="https://idp.example.com" {...field} />
</FormControl>
<FormDescription>
Discovery document is fetched from{" "}
@@ -144,10 +144,7 @@ export function RegisterSamlDialog({ children }: RegisterSamlDialogProps) {
<FormItem>
<FormLabel>Issuer URL</FormLabel>
<FormControl>
<Input
placeholder="https://idp.example.com"
{...field}
/>
<Input placeholder="https://idp.example.com" {...field} />
</FormControl>
<FormMessage />
</FormItem>
@@ -230,10 +227,7 @@ export function RegisterSamlDialog({ children }: RegisterSamlDialogProps) {
<FormItem>
<FormLabel>Audience (Entity ID)</FormLabel>
<FormControl>
<Input
placeholder="https://yourapp.com"
{...field}
/>
<Input placeholder="https://yourapp.com" {...field} />
</FormControl>
<FormMessage />
</FormItem>
+4 -1
View File
@@ -242,7 +242,10 @@ export const enterpriseProcedure = t.procedure.use(async ({ ctx, next }) => {
},
});
if (!currentUser?.enableEnterpriseFeatures || !currentUser.isValidEnterpriseLicense) {
if (
!currentUser?.enableEnterpriseFeatures ||
!currentUser.isValidEnterpriseLicense
) {
throw new TRPCError({
code: "FORBIDDEN",
message: "Valid enterprise license required",