mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
4cb5a14de9
4 changed files with 47 additions and 52 deletions
|
|
@ -36,7 +36,7 @@ export default async (
|
|||
|
||||
const { username, password, id } = req.body;
|
||||
|
||||
const existingUser = await getUser({ username });
|
||||
const existingUser = await getUser({ username }, { showDeleted: true });
|
||||
|
||||
if (existingUser) {
|
||||
return badRequest(res, 'User already exists');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue