Allows a user to change their account email address after confirming their password, with notifications and analytics tracking.
<!--
Source: https://github.com/mperkins0155/console-getitforcomm | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
Provided via justclaw.it.com; keep this notice with the code.
-->
<script lang="ts">
import { invalidate } from '$app/navigation';
import { Submit, trackError, trackEvent } from '$lib/actions/analytics';
import { CardGrid } from '$lib/components';
import { Dependencies } from '$lib/constants';
import { Button, Form, InputPassword, InputText } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
import { user } from '$lib/stores/user';
import { onMount } from 'svelte';
import { Badge, Layout } from '@appwrite.i
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key