This commit is contained in:
Sonja Happ 2019-05-28 10:41:59 +02:00
parent f6ea39af12
commit 4d9af7b0d3

View file

@ -22,10 +22,10 @@ type tokenClaims struct {
jwt.StandardClaims
}
type AuthResponse struct{
Success bool `json:"success"`
type AuthResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
Token string `json:"token"`
Token string `json:"token"`
}
// `/authenticate` endpoint does not require Authentication