faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
<FromGitter> <melon-mochi> getting this error (https://pastebin.com/UgP0jZSt) ⏎ my user class is here: https://pastebin.com/DxGgmujD ⏎ if anyone needs anything else or finds a solution please ping me
<FromGitter> <Blacksmoke16> @melon-mochi the error is pretyy clear
<FromGitter> <Blacksmoke16> the type of `password` is `String | Nil`, whereas you're trying to set it to `Crypto::Bcrypt::Password`
<FromGitter> <Blacksmoke16> https://crystal-lang.org/api/0.27.0/Crypto/Bcrypt/Password.html#to_s%28io%29-instance-method would want to call `to_s` on it to return the password as a string
<FromGitter> <Blacksmoke16> i.e. `user.password = hashedPassword.to_s`
<FromGitter> <melon-mochi> oh yeah i forgot about that
<FromGitter> <melon-mochi> my bad
<FromGitter> <melon-mochi> thanks
<FromGitter> <Blacksmoke16> np
_whitelogger has joined #amber
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 250 seconds]
feepbot has joined #amber