How to use the guard without losing my login information? (Angular 10)

后端 未结 0 531
迷失自我
迷失自我 2020-12-14 15:24

I implemented 2 guards, one for normal user and one for admin. Whenever I login, I store all the data of the user in a service. However, when I am for example logged in as a

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