Warn admins on login while the default password is unchanged
This commit is contained in:
1 parent
25f3546c07
commit
98c2858087
11 files changed
+348
-18
No files matched your search
@@ -68,6 +68,8 @@ struct MyMesh {
|
||||
uint8_t handleAnonOwnerReq(const mesh::Identity&, uint32_t, const uint8_t*, size_t);
|
||||
uint8_t handleAnonClockReq(const mesh::Identity&, uint32_t, const uint8_t*, size_t);
|
||||
void onAnonDataRecv(mesh::Packet*, const uint8_t*, const mesh::Identity&, uint8_t*, size_t);
|
||||
// Warning authorization/transport is exercised by the full login suites.
|
||||
void sendDefaultPasswordWarning(ClientInfo*, uint32_t, uint8_t) {}
|
||||
uint8_t handleLoginReq(const mesh::Identity&, const uint8_t*, uint32_t timestamp,
|
||||
const uint8_t* password, bool flood) {
|
||||
++logins;
|
||||
|
||||
Reference in new issue
Block a user