UI authentication improvements
This commit is contained in:
1 parent
77563fc85e
commit
8533ee7f2e
4 files changed
+44
-28
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user