change
Password
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + USERS_KEY + " SET " + PASSWORD_KEY + "=:" + PASSWORD_KEY + " WHERE "
+ IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to change the password of the EquinoxUser
Parameters
newPassword
: the new password of the user
id
: the identifier of the user