Enhancing User Creation by Adding Passwords
00:00 So, Kelly, the coworker, has put together a sweet create account flow for us, and so users can actually create an account. And all of this is already functioning, but we don't do anything with the password. That's your job. You need to create the password along with the user that's being created.
00:17 And this is going to be a little bit more complicated than you might think because our UI code here that's rendering this page, this route, is bundled for both the server and the client. And so if we bring in bcrypt into there, then bcrypt actually depends on crypto, and so then it's going to bring in crypto.
00:36 And so as we're going through the bundling process, it will actually either polyfill or warn us and say, hey, you know, you can't do this. So you're going to have to do something a little bit special just to ensure that the crypto polyfill doesn't end up in the browser. But by the end of all of this stuff, it actually becomes a non-issue
00:55 because we're not actually going to be bringing in bcrypt into this route. But we're going to start by bringing bcrypt into this route, and then eventually we'll move it over to like a util, which is a more common practice. So, yeah, you've got that to do. Have a good time with this one.