I've practically copy and pasted this from the doc...
# exposed
d
I've practically copy and pasted this from the docs, but I get an error in Intellij. I will edit to provide, one moment (see thread)
Copy code
UserTable.update({ UserTable.userId eq userId }) {
                    it[UserTable.hashedPassword] = hash(randomAlphanumerical(8))
                }
1
Error received:
It's because hash wasn't imported, my bad.