Closed shakedmanes closed 4 years ago
Adding passport wrapper for callback function received in passport.authenticate for changing the unauthorized text message to JSON .
passport.authenticate
unauthorized
Also add not found route handling for changing theCannot XXX XXX/XXX text response to Page not found in JSON response.
Cannot XXX XXX/XXX
Page not found
Adding passport wrapper for callback function received in
passport.authenticate
for changing theunauthorized
text message to JSON .Also add not found route handling for changing the
Cannot XXX XXX/XXX
text response toPage not found
in JSON response.