1
0
mirror of https://github.com/falk-werner/webfused synced 2026-03-02 04:09:19 +00:00

switches daemon to config file

This commit is contained in:
Falk Werner
2020-03-17 22:53:38 +01:00
parent b62e9fc67b
commit 5a58025e4a
6 changed files with 129 additions and 98 deletions

View File

@@ -4,6 +4,7 @@
#include "webfuse/adapter/credentials.h"
#include "userdb/userdb.h"
#include "webfused/log/log.h"
#include <stdlib.h>
#include <string.h>
@@ -45,6 +46,10 @@ wfd_file_authenticator_authenticate(
userdb_dispose(db);
}
WFD_INFO("authenticate user \'%s\': %s",
(NULL != username) ? username : "<unknown>",
result ? "success" : "failure");
return result;
}