Closed Hanan795 closed 4 years ago
Create authentication middleware to check if the user has been logged in.
Create a query to get user information in the middleware depends on his/her gid.
Use user information in the request to get user id when the user has been logged in.
Create authentication middleware to check if the user has been logged in.
Create a query to get user information in the middleware depends on his/her gid.
Use user information in the request to get user id when the user has been logged in.