Temporarily disable all extended AUTH.
This commit is contained in:
parent
219f47b07f
commit
5e7f43c9ea
@ -23,6 +23,7 @@ Contributors:
|
|||||||
#include "mqtt_protocol.h"
|
#include "mqtt_protocol.h"
|
||||||
#include "packet_mosq.h"
|
#include "packet_mosq.h"
|
||||||
#include "property_mosq.h"
|
#include "property_mosq.h"
|
||||||
|
#include "send_mosq.h"
|
||||||
|
|
||||||
|
|
||||||
int handle__auth(struct mosquitto_db *db, struct mosquitto *context)
|
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 */
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user