Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Pass the site's name as a data attribute, this is read by browserid.js

Roland Geidere6d06bdcc22b
diff --git a/manager/templates/user/login.html b/manager/templates/user/login.html
index 043c8165b..665e954dc 100644
--- a/manager/templates/user/login.html
+++ b/manager/templates/user/login.html
@@ -36,7 +36,8 @@
<h2>{% trans "or" %}</h2>
<a id="browserid-login"
href="#"
- class="persona-button dark browserid-login">
+ class="persona-button dark browserid-login"
+ data-site-name="Workout Manager">
<span>{% trans "Sign in with your Email" %}</span>
</a>
<form method="POST" action="{% url browserid_verify %}" id="browserid-form">