mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
remove on mount not required
This commit is contained in:
1 parent
c72fd1e2f8
commit
f8e46aaeaa
1 file changed
-5
@@ -6,16 +6,11 @@
|
||||
import { Button, Form, FormList, InputSwitch } from '$lib/elements/forms';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { onMount } from 'svelte';
|
||||
import { project } from '../../store';
|
||||
|
||||
const projectId = $project.$id;
|
||||
let passwordDictionary = $project.authPasswordDictionary ?? false;
|
||||
|
||||
onMount(() => {
|
||||
passwordDictionary = $project.authPasswordDictionary ?? false;
|
||||
});
|
||||
|
||||
async function updatePasswordDictionary() {
|
||||
try {
|
||||
const path = '/projects/' + projectId + '/auth/password-dictionary';
|
||||
|
||||
Reference in new issue
Block a user