Explorar o código

Set authentication message to only show if user is not authenticated

deadtom hai 3 semanas
pai
achega
cfc4876ce4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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>