Преглед на файлове

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>