Skip to content

Commit 85a2a78

Browse files
author
ekatek
committed
Squashed commit of the following:
commit 6d34609 Merge: 800ec27 2ce8171 Author: freiit <freiit@users.noreply.github.com> Date: Tue Jun 16 11:56:53 2015 +0200 Merge pull request meteor#1 from freiit/freiit-patch-1 Trivial inconsistency in the docs fixed. commit 2ce8171 Author: freiit <freiit@users.noreply.github.com> Date: Tue Jun 16 11:47:30 2015 +0200 Trivial inconsistency in the docs fixed.
1 parent d1251d6 commit 85a2a78

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/client/full-api/api/passwords.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ Override fields of the object by assigning to them:
121121
the application (eg: `awesome.meteor.com`).
122122
- `headers`: An `Object` for custom email headers as described in
123123
[`Email.send`](#email_send).
124-
- `resetPassword`: An `Object` with two fields:
125-
- `resetPassword.from`: A `Function` used to override the `from` address defined
124+
- `resetPassword`: An `Object` with the fields:
125+
- `from`: A `Function` used to override the `from` address defined
126126
by the `emailTemplates.from` field.
127-
- `resetPassword.subject`: A `Function` that takes a user object and returns
127+
- `subject`: A `Function` that takes a user object and returns
128128
a `String` for the subject line of a reset password email.
129-
- `resetPassword.text`: A `Function` that takes a user object and a url, and
129+
- `text`: A `Function` that takes a user object and a url, and
130130
returns the body text for a reset password email.
131-
- `resetPassword.html`: An optional `Function` that takes a user object and a
131+
- `html`: An optional `Function` that takes a user object and a
132132
url, and returns the body html for a reset password email.
133133
- `enrollAccount`: Same as `resetPassword`, but for initial password setup for
134134
new accounts.
@@ -151,4 +151,4 @@ Accounts.emailTemplates.enrollAccount.text = function (user, url) {
151151
};
152152
```
153153

154-
{{/template}}
154+
{{/template}}

0 commit comments

Comments
 (0)