UI authentication improvements

This commit is contained in:
Zaid Abdulla committed 2019-10-24 17:43:24 -07:00
1 parent 77563fc85e
commit 8533ee7f2e
4 files changed
+44 -28

No files matched your search

+1 -1
View File
@@ -577,7 +577,7 @@ router.put("/users/:id/password", async (ctx, next) => {
if (!ctx.state.user) {
// User not logged in
if (
!(await apiFunctions.authSimple(
!(await apiFunctions.authLocal(
ctx.state.configSnapshot,
username,
ctx.request.body.authPassword