mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-15 18:48:14 +02:00
fixed typos and some linter suggestions
This commit is contained in:
1 parent
80d65a198b
commit
aabe820e35
17 files changed
+4635
-4626
No files matched your search
+1
-1
@@ -92,7 +92,7 @@ func SendRecordVerification(app core.App, authRecord *models.Record) error {
|
||||
})
|
||||
}
|
||||
|
||||
// SendUserChangeEmail sends a change email confirmation email to the specified user.
|
||||
// SendRecordChangeEmail sends a change email confirmation email to the specified user.
|
||||
func SendRecordChangeEmail(app core.App, record *models.Record, newEmail string) error {
|
||||
token, tokenErr := tokens.NewRecordChangeEmailToken(app, record, newEmail)
|
||||
if tokenErr != nil {
|
||||
|
||||
Reference in new issue
Block a user