change Password

@Modifying(clearAutomatically = true )
@Query(value = ""UPDATE " + USERS_KEY + " SET " + PASSWORD_KEY + "=:" + PASSWORD_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true )
abstract fun changePassword(@Param(value = "password") newPassword: String, @Param(value = "id") id: String)

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