Add new profile endpoint

Add some logging output for auth failures
This commit is contained in:
Fabian Stamm
2023-04-07 23:01:56 +02:00
parent 0453e461c9
commit 1e2bb83447
53 changed files with 3547 additions and 18 deletions

View File

@ -101,7 +101,7 @@ export default async function TestData() {
data: "IIRW2P2UJRDDO2LDIRYW4LSREZLWMOKDNBJES2LLHRREK3R6KZJQ",
expires: null,
});
TwoFactor.save(t);
await TwoFactor.save(t);
}
let login_token = await LoginToken.findOne({ token: "test01" });