mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-11 16:57:26 +02:00
added option to auto generate admin and auth record passwords from the Admin UI
This commit is contained in:
1 parent
ccb1c42220
commit
e5b5c1f76f
58 files changed
+515
-36525
No files matched your search
@@ -5,6 +5,7 @@
|
||||
import { confirm } from "@/stores/confirmation";
|
||||
import { removeError } from "@/stores/errors";
|
||||
import Field from "@/components/base/Field.svelte";
|
||||
import SecretGeneratorButton from "@/components/base/SecretGeneratorButton.svelte";
|
||||
|
||||
export let record;
|
||||
export let collection;
|
||||
@@ -102,6 +103,9 @@
|
||||
required
|
||||
bind:value={record.password}
|
||||
/>
|
||||
<div class="form-field-addon">
|
||||
<SecretGeneratorButton />
|
||||
</div>
|
||||
</Field>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
|
||||
Reference in new issue
Block a user