mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-13 23:45:17 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user