milwad-dev / shopline

The best shop by Laravel framework.
72 stars 11 forks source link

[0.x] Add `guest` and `auth` middleware for auth routes #7

Closed alisalehi1380 closed 1 year ago

alisalehi1380 commented 1 year ago

Hello, dear Milwad

I feel that a restriction should be added on these routes. As a rule, the person who logged in should not have access to route login. This issue was not present in the corresponding controller. Has this issue been handled? in what way?

alisalehi1380 commented 1 year ago

I will try to look at the tests tomorrow and improve them