Temporarily disable all extended AUTH.

This commit is contained in:
Roger A. Light 2019-01-25 22:02:12 +00:00
parent 219f47b07f
commit 5e7f43c9ea

View File

@ -23,6 +23,7 @@ Contributors:
#include "mqtt_protocol.h"
#include "packet_mosq.h"
#include "property_mosq.h"
#include "send_mosq.h"
int handle__auth(struct mosquitto_db *db, struct mosquitto *context)
@ -46,5 +47,7 @@ int handle__auth(struct mosquitto_db *db, struct mosquitto *context)
mosquitto_property_free_all(&properties); /* FIXME - TEMPORARY UNTIL PROPERTIES PROCESSED */
}
return MOSQ_ERR_SUCCESS;
/* FIXME - Extended auth not currently supported */
send__disconnect(context, MQTT_RC_NOT_AUTHORIZED, NULL);
return 1;
}