Eddie Hsu
Eddie Hsu
Actually this is not **urlencode**. It a **raw url encode** method. So all the _space_ will convert to **%20** not **+** .
> Hey, I'd supposed that the value sent to `bcrypt.compareSync` should be `user.password` instead of `password`? It seems you are comparing the input against itself. Oh my bad, I just...
```go // Use `go list -m golang.org/x/tour` to check the package install or not. import ( "golang.org/x/tour/pic" ) ``` I resolve with install the **tour package** into my local
Same issue here, it always return `true` `const isPasswordValid = bcrypt.compareSync( password as string, encryptPWD, );`