octoposprime / op-be-graphql

OctopOS Prime Backend Api Gateway
http://www.octoposprime.com
MIT License
13 stars 1 forks source link

changeUserPassword logic err in userID #41

Open Sddilora opened 6 months ago

Sddilora commented 6 months ago

When executing the "changeUserPassword" mutation with the ADMIN role, I am able to change passwords. However this action also breaks the relationship between the user and the password, assigning the password to the user who changes it.

Screenshot from 2024-04-19 16-42-29

Sddilora commented 6 months ago

image

op_guest role is ADMIN in db