Apostrophe 2 v2.0.4 Release Notes
Release Date: 2016-09-14 // over 7 years ago-
- 👍 The
apostrophe-login
module now invokesloginAfterLogin(req, callback)
on all modules that have such a method, viaapos.callAll
. Modules that do not need a callback can supply this method with only one argument. Afterwards,apostrophe-login
redirects toreq.redirect
, as is supported elsewhere in Apostrophe. So you can assign toreq.redirect
in your callback to change the user's destination after a successful login. Ifreq.redirect
is not set, the user is redirected to the home page.
- 👍 The