|
|
@ -1,20 +1,12 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { |
|
|
import { Input, Button, Layout, Body, Heading } from "@budibase/bbui" |
|
|
Input, |
|
|
|
|
|
Button, |
|
|
|
|
|
Layout, |
|
|
|
|
|
Body, |
|
|
|
|
|
Heading, |
|
|
|
|
|
} from "@budibase/bbui" |
|
|
|
|
|
import { params } from "@roxi/routify" |
|
|
import { params } from "@roxi/routify" |
|
|
import { auth } from "stores/backend" |
|
|
import { auth } from "stores/backend" |
|
|
|
|
|
|
|
|
const resetCode = $params["?code"] |
|
|
const resetCode = $params["?code"] |
|
|
let password = "" |
|
|
let password = "" |
|
|
|
|
|
|
|
|
async function reset() { |
|
|
async function reset() {} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<div class="login"> |
|
|
<div class="login"> |
|
|
@ -25,7 +17,9 @@ |
|
|
</Layout> |
|
|
</Layout> |
|
|
<Layout gap="XS" noPadding> |
|
|
<Layout gap="XS" noPadding> |
|
|
<Heading textAlign="center">Reset your password</Heading> |
|
|
<Heading textAlign="center">Reset your password</Heading> |
|
|
<Body size="S" textAlign="center">Please enter the new password you'd like to use.</Body> |
|
|
<Body size="S" textAlign="center" |
|
|
|
|
|
>Please enter the new password you'd like to use.</Body |
|
|
|
|
|
> |
|
|
<Input label="Password" bind:value={password} /> |
|
|
<Input label="Password" bind:value={password} /> |
|
|
</Layout> |
|
|
</Layout> |
|
|
<Button cta on:click={reset}>Reset your password</Button> |
|
|
<Button cta on:click={reset}>Reset your password</Button> |
|
|
|