浏览代码

Update README.md

Ayush Sharma 4 年之前
父节点
当前提交
a4db2db5f1
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -56,6 +56,12 @@ Download the [Repository](https://github.com/ayushsharma82/AsyncElegantOTA/archi
  Now copy the IPAddress displayed over your Serial Monitor and go to `http://<IPAddress>/update` in browser. ( where `<IPAddress>` is the IP of your ESP Module)
  
  <br>
+ 
+ #### Additional Security:
+ 
+ If you would like to add login to your OTA webpage, then please replace `AsyncElegantOTA.begin(&server);` with `AsyncElegantOTA.begin(&server, "username", "password");`. This will prevent unauthorized requests to your OTA webpage and prevent unauthorized firmware upload to your MCU.
+ 
+ <br>
 
 <h2>Tutorials</h2>
 <p>Tutorials for AsyncElegantOTA is live on RandomNerdTutorials.</p>