Refine shibboleth signup mechanism
[astakos] / snf-astakos-app / astakos / im / templates / im / login_base.html
index 33b1872..0d9c56f 100644 (file)
                        {% include "im/form_render.html" %}
                    {% endwith %}
                    <input type="hidden" name="next" value="{{ next }}">
+                   
+                   {% if key %}
+                       <input type="hidden" name="key" value="{{key}}">
+                   {% else %}
+                       {% if request.GET.key %}
+                           <input type="hidden" name="key" value="{{request.GET.key}}">
+                       {% endif %}
+                   {% endif %}
+                   
                    <div class="form-row submit clearfix">
-                       
-                       <input type="submit" class="submit altcol" value="SUBMIT" />
+                       <input type="submit" class="submit altcol" value="SUBMIT" />
                        <a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
                    </div>
        </form>