adminjs-expressjs
adminjs-expressjs copied to clipboard
Logging in no longer redirects to previous page
When logging in the handler redirects to req.session.redirectTo, but this is no longer happening because it's not being set by the protected routes handler anymore.
Related discussion https://github.com/SoftwareBrothers/adminjs-expressjs/pull/81