@erikey/react 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -77,6 +77,7 @@ export function AuthView({
|
|
|
77
77
|
}: AuthViewProps) {
|
|
78
78
|
const isHydrated = useIsHydrated()
|
|
79
79
|
const {
|
|
80
|
+
authFlowMode,
|
|
80
81
|
basePath,
|
|
81
82
|
credentials,
|
|
82
83
|
localization: contextLocalization,
|
|
@@ -421,6 +422,25 @@ export function AuthView({
|
|
|
421
422
|
: localization.SIGN_IN}
|
|
422
423
|
</Button>
|
|
423
424
|
</Link>
|
|
425
|
+
) : authFlowMode === "internal" ? (
|
|
426
|
+
<Link
|
|
427
|
+
className={cn(
|
|
428
|
+
"text-foreground underline",
|
|
429
|
+
classNames?.footerLink
|
|
430
|
+
)}
|
|
431
|
+
href={`${basePath}/${viewPaths.SIGN_IN}${isHydrated ? window.location.search : ""}`}
|
|
432
|
+
>
|
|
433
|
+
<Button
|
|
434
|
+
variant="link"
|
|
435
|
+
size="sm"
|
|
436
|
+
className={cn(
|
|
437
|
+
"px-0 text-foreground underline",
|
|
438
|
+
classNames?.footerLink
|
|
439
|
+
)}
|
|
440
|
+
>
|
|
441
|
+
{localization.GO_BACK}
|
|
442
|
+
</Button>
|
|
443
|
+
</Link>
|
|
424
444
|
) : (
|
|
425
445
|
<Button
|
|
426
446
|
variant="link"
|