return user json

This commit is contained in:
array-in-a-matrix 2024-08-14 23:46:36 -04:00
parent eb3cdaa87f
commit 8ce307bbdc

View file

@ -70,5 +70,5 @@ proc createAuthenticationRoutes*() =
respErr "Incorrect username or password.\n" # fails if password is wrong but mentions username to obfuscates if a user exists or not
info "Replaced token.\n" & reqInfo
resp200 user.token.toJson()
resp200 user.toJson()