![nest.js验证可选参数](https://img-blog.csdnimg.cn/img_convert/cb77148976d3860d9ad6cde5b7f3be90.png)
nest.js验证可选参数
![](https://img-blog.csdnimg.cn/img_convert/5e8c32a3fd23c6ac6a3cc7607a76c014.png)
If you’re going to put an internet-connected thermostat in your house, you should do whatever you can to keep it secure. Here’s how to enable two-factor authentication on your Nest account to help thwart attackers.
如果您要在家里放置一个连接互联网的恒温器,则应尽一切可能确保其安全。 以下是在您的Nest帐户上启用两因素身份验证以阻止攻击者的方法。
As we’ve explained before, two-factor authentication involves using something you know—like a password—and something you have—like your phone—to log into an account. If an attacker wants to get access to your account, they’d need to know your password and have your phone, seriously decreasing the chances your account will get broken into.