Skip to content

Commit 72397cb

Browse files
committed
docs: update docs for the email-invite plugin
1 parent 4f662b4 commit 72397cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adminforth/documentation/docs/tutorial/07-Plugins/16-email-invite.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default {
9898
//diff-add
9999
emailField: 'email',
100100
//diff-add
101-
passwordField: 'password_hash',
101+
passwordField: 'password',
102102
//diff-add
103103
sendFrom: 'noreply@yourapp.com',
104104
//diff-add
@@ -164,7 +164,7 @@ export default {
164164
new EmailInvitePlugin({
165165
emailField: 'email',
166166
sendFrom: 'noreply@yourapp.com',
167-
passwordField: 'password_hash',
167+
passwordField: 'password',
168168
adapter: new EmailAdapterAwsSes(/* ... */),
169169
//diff-add
170170
emailConfirmedField: 'email_confirmed', // Enable email confirmation
@@ -191,7 +191,7 @@ import EmailAdapterMailgun from "@adminforth/email-adapter-mailgun";
191191
plugins: [
192192
new EmailInvitePlugin({
193193
emailField: 'email',
194-
passwordField: 'password_hash',
194+
passwordField: 'password',
195195
sendFrom: 'noreply@yourapp.com',
196196
//diff-add
197197
adapter: new EmailAdapterMailgun({

0 commit comments

Comments
 (0)