@better-auth-ui/heroui 1.6.17 → 1.6.18
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/dist/index.js
CHANGED
|
@@ -627,7 +627,7 @@ function $e({ className: t, socialLayout: n, socialPosition: i = "bottom", varia
|
|
|
627
627
|
}),
|
|
628
628
|
/* @__PURE__ */ $(j.Footer, {
|
|
629
629
|
className: "flex-col gap-3",
|
|
630
|
-
children: [d?.forgotPassword && /* @__PURE__ */ Q(B, {
|
|
630
|
+
children: [d?.enabled && d?.forgotPassword && /* @__PURE__ */ Q(B, {
|
|
631
631
|
href: `${l.auth}/${_.auth.forgotPassword}`,
|
|
632
632
|
className: "no-underline hover:underline",
|
|
633
633
|
children: f.auth.forgotPasswordLink
|
package/dist/plugins.js
CHANGED
|
@@ -2825,7 +2825,7 @@ function zn({ className: n, socialLayout: i, socialPosition: a = "bottom", varia
|
|
|
2825
2825
|
}),
|
|
2826
2826
|
/* @__PURE__ */ Z(j.Footer, {
|
|
2827
2827
|
className: "flex-col gap-3",
|
|
2828
|
-
children: [d?.forgotPassword && /* @__PURE__ */ X(et, {
|
|
2828
|
+
children: [d?.enabled && d?.forgotPassword && /* @__PURE__ */ X(et, {
|
|
2829
2829
|
href: `${l.auth}/${v.auth.forgotPassword}`,
|
|
2830
2830
|
className: "no-underline hover:underline",
|
|
2831
2831
|
children: f.auth.forgotPasswordLink
|
package/package.json
CHANGED
|
@@ -260,7 +260,7 @@ export function SignIn({
|
|
|
260
260
|
</Card.Content>
|
|
261
261
|
|
|
262
262
|
<Card.Footer className="flex-col gap-3">
|
|
263
|
-
{emailAndPassword?.forgotPassword && (
|
|
263
|
+
{emailAndPassword?.enabled && emailAndPassword?.forgotPassword && (
|
|
264
264
|
<Link
|
|
265
265
|
href={`${basePaths.auth}/${viewPaths.auth.forgotPassword}`}
|
|
266
266
|
className="no-underline hover:underline"
|
|
@@ -288,7 +288,7 @@ export function SignInUsername({
|
|
|
288
288
|
</Card.Content>
|
|
289
289
|
|
|
290
290
|
<Card.Footer className="flex-col gap-3">
|
|
291
|
-
{emailAndPassword?.forgotPassword && (
|
|
291
|
+
{emailAndPassword?.enabled && emailAndPassword?.forgotPassword && (
|
|
292
292
|
<Link
|
|
293
293
|
href={`${basePaths.auth}/${viewPaths.auth.forgotPassword}`}
|
|
294
294
|
className="no-underline hover:underline"
|