     case incorrectPassword
     case incorrectOldPassword
     case passwordWithoutUsernameOrOldPassword
+    case malformedPayload
 }
 
 // MARK: - AbortError

        case .incorrectPassword                     : return .unauthorized
        case .incorrectOldPassword                  : return .unauthorized
        case .passwordWithoutUsernameOrOldPassword  : return .unprocessableEntity
        }
    }


            return "Incorrect old password."
        case .passwordWithoutUsernameOrOldPassword:
            return "Password should only be provided when updating it or updating the username."
        case .malformedPayload:
            return "Malformed JWT payload received."
        }
    }
}
