Revision 327a4c1e snf-astakos-app/astakos/im/templates/im/profile_auth_methods.html

b/snf-astakos-app/astakos/im/templates/im/profile_auth_methods.html
30 30
                <p>Are you sure you want to change {{ userauthprovider.get_method_prompt_msg }}?</p> 
31 31
                {% endif %}
32 32
                {% if userauthprovider.get_remove_policy %}
33
                <p><a href="{{ userauthprovider.get_remove_url }}"
34
                  class="submit">Yes</a>
33
                <form action="{{ userauthprovider.get_remove_url }}" method="post">{% csrf_token %}
34
                  <input type="submit" value="YES" />
35
                </form>  
35 36
                <a href="#" class="no submit">No</a>
36
                </p>
37 37
                {% else %}
38 38
                <p><a href="{{ userauthprovider.get_switch_url }}"
39 39
                  class="submit">Yes</a>
......
77 77
              </span>
78 78
              <div class="dialog-wrap">
79 79
                <p>Are you sure you want to remove {{ userauthprovider.get_method_prompt_msg }}?</p> 
80
                <p><a href="{{ userauthprovider.get_remove_url }}"
81
                  class="submit">Yes</a>
80
                <form action="{{ userauthprovider.get_remove_url }}" method="post">{% csrf_token %}
81
                  <input type="submit" value="YES" />
82
                </form>  
82 83
                <a href="#" class="no submit">No</a>
83
                </p>
84 84
              </div>	
85 85
              {% else %}
86 86
              <a href="javascript:void(0);" class="noaction" 

Also available in: Unified diff