mirror of
https://github.com/falk-werner/webfused
synced 2026-03-02 04:09:19 +00:00
added tests for userdb
This commit is contained in:
@@ -37,7 +37,7 @@ wfd_file_authenticator_authenticate(
|
||||
if ((NULL != username) && (NULL != password))
|
||||
{
|
||||
struct userdb * db = userdb_create("");
|
||||
result = userdb_load(db, authenticator->filename);
|
||||
result = userdb_load_file(db, authenticator->filename);
|
||||
if (result)
|
||||
{
|
||||
result = userdb_check(db, username, password);
|
||||
|
||||
Reference in New Issue
Block a user