瀏覽代碼

Set authentication message to only show if user is not authenticated

deadtom 3 周之前
父節點
當前提交
cfc4876ce4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      ownchatbot/templates/userpanel.html

+ 4 - 0
ownchatbot/templates/userpanel.html

@@ -73,7 +73,11 @@
         {% endif %}
         {% endif %}
         </table>
+            {% if user[3] %}
+            <br>
+            {% else %}
             <br><span style="color: orange;"><i>You must be authenticated with Owncast to earn points for donations.</i></span><br>
+            {% endif %}
             {% for user in users %}
             
             <div>