From aea483052b3256b1dc3f49addade925f07e0ea37 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 5 Aug 2021 21:06:55 +0200 Subject: [PATCH] Print notification when allocating a FileBasedUserManager. --- modules/users/file_based_user_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/users/file_based_user_manager.cpp b/modules/users/file_based_user_manager.cpp index 82f8e99..d35a0ec 100644 --- a/modules/users/file_based_user_manager.cpp +++ b/modules/users/file_based_user_manager.cpp @@ -18,6 +18,8 @@ void FileBasedUserManager::set_path(const std::string &path) { FileBasedUserManager::FileBasedUserManager() : UserManager() { + + printf("Using FileBasedUserManager. Note: Please DON'T USE THIS IN PRODUCTION IT'S NOT SAFE FOR THAT!\n"); } FileBasedUserManager::~FileBasedUserManager() {