فهرست منبع

Changed token input types to password, to conceal the information entered

deadtom 4 روز پیش
والد
کامیت
763f1110d3
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ownchatbot/templates/mgmt.html

+ 2 - 2
ownchatbot/templates/mgmt.html

@@ -291,7 +291,7 @@
                     </tr>
                     <tr>
                         <td> <label for="access_token">Access Token:</label> </td>
-                        <td style="padding: 5px;"> <input type="text" name="access_token" value="{{ settings_info[5] }}" size="40"> </td>
+                        <td style="padding: 5px;"> <input type="password" name="access_token" value="{{ settings_info[5] }}" size="40"> </td>
                         <td>The token you created above.</td>
                     </tr>
                     <tr>
@@ -322,7 +322,7 @@
                     </tr>
                     <tr>
                         <td> <label for="kofi_token">Verification Token:</label> </td>
-                        <td style="padding: 5px;"> <input type="text" name="kofi_token" value="{{ settings_info[7] }}" size="40"> </td>
+                        <td style="padding: 5px;"> <input type="password" name="kofi_token" value="{{ settings_info[7] }}" size="40"> </td>
                         <td>Get from Kofi -> More -> API -> Webhooks -> Advanced -> Verification Token.</td>
                     </tr>
                 </table>