ソースを参照

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>