allow custom pocketbase login data

This commit is contained in:
2025-04-02 10:46:20 +02:00
parent f797a143e5
commit a35d38c886
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ migrate(app => {
let record = new Record(superusers)
const email = process.env.EMAIL ?? 'text@example.com'
const password = process.env.PASSWORD ?? '1234567890'
// This should be communicated to the user, or be set by the user.
record.set("email", "test@example.com")
record.set("password", "1234567890")