- Added in-context editing support, support for the
contextual
flag, andskipInitialModal
support for areas and singletons nested in fields of typeobject
. Many thanks to Michelin for making this feature possible through their participation in Apostrophe Enterprise Support. - The
date
Nunjucks filter now acceptslocale
as a second argument. Iflocale
is not present andreq.locale
is set, that locale is used, rather than the default system locale. Thanks to Tim Otlik. - Removed nuisance warnings about tolerant sanitization.
- When using the
passwordReset: true
feature ofapostrophe-login
, you may also set thepasswordResetSubject
option to a custom subject line for the password reset email message. - The mechanism that sends the password reset request confirmation email has been factored out to the
apos.login.sendPasswordResetEmail(req, user)
method, so you can trigger it for your own reasons. This method returns a promise; when that promise resolves the password reset email has been successfully handed off for delivery. Note that the promise will be rejected if the user object has noemail
property.