passportjs redirection to original url after success

前端 未结 0 1247
谎友^
谎友^ 2020-12-04 21:16

I have an app where when a user wants to access /protected needs to be authenticated. If the user is not, it gets redirected to /login?r=/protected

相关标签:
回答
  • 消灭零回复
提交回复
热议问题