last commit
This commit is contained in:
@@ -48,6 +48,7 @@ func Login(w http.ResponseWriter, r *http.Request) {
|
|||||||
Value: tokenString,
|
Value: tokenString,
|
||||||
Expires: expirationtime,
|
Expires: expirationtime,
|
||||||
})
|
})
|
||||||
|
w.WriteHeader(http.StatusOK)
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkPasswordHash(password, hash string) bool {
|
func checkPasswordHash(password, hash string) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user