Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
Login handles the user login process. It retrieves email and password from the request body, validates them against the stored user credentials, generates a JWT token upon successful login, sets it in a cookie, and responds with success or failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.