feat: add auth flow and login guard for api/web
This commit is contained in:
6
memora-api/internal/response/auth.go
Normal file
6
memora-api/internal/response/auth.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package response
|
||||
|
||||
type AuthResponse struct {
|
||||
Token string `json:"token"`
|
||||
User interface{} `json:"user"`
|
||||
}
|
||||
Reference in New Issue
Block a user