mirror of https://github.com/Budibase/budibase.git
3 changed files with 42 additions and 20 deletions
@ -0,0 +1,21 @@ |
|||
<script> |
|||
import { ModalContent, Body, notifications } from "@budibase/bbui" |
|||
import PasswordRepeatInput from "components/common/users/PasswordRepeatInput.svelte" |
|||
|
|||
let password |
|||
let error |
|||
|
|||
const updatePassword = async () => { |
|||
// Update password |
|||
} |
|||
</script> |
|||
|
|||
<ModalContent |
|||
title="Change password" |
|||
confirmText="Update password" |
|||
onConfirm={updatePassword} |
|||
disabled={error} |
|||
> |
|||
<Body size="S">Enter your new password below.</Body> |
|||
<PasswordRepeatInput bind:password bind:error /> |
|||
</ModalContent> |
|||
Loading…
Reference in new issue