mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
added more descriptive test OTP id and failure log message
This commit is contained in:
1 parent
77ac44a49a
commit
2d828ef9eb
3 files changed
+7
-3
No files matched your search
@@ -107,7 +107,7 @@ func (form *TestEmailSend) Submit() error {
|
||||
case TestTemplateEmailChange:
|
||||
return mails.SendRecordChangeEmail(form.app, record, form.Email)
|
||||
case TestTemplateOTP:
|
||||
return mails.SendRecordOTP(form.app, record, "OTP_ID", "123456")
|
||||
return mails.SendRecordOTP(form.app, record, "_PB_TEST_OTP_ID_", "123456")
|
||||
case TestTemplateAuthAlert:
|
||||
return mails.SendRecordAuthAlert(form.app, record)
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user