Skip to content
Snippets Groups Projects
Commit 37282d26 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Adding a cancel account link to the manage page.

close #405
parent 5bcdf34a
No related branches found
No related tags found
No related merge requests found
......@@ -170,9 +170,9 @@
}
BrowserID.manageAccount = function() {
$('#cancellink').click(function() {
$('#cancelAccount').click(function() {
if (confirm('Are you sure you want to cancel your account?')) {
BrowserID.Network.cancelUser(function() {
User.cancelUser(function() {
document.location="/";
});
}
......
......@@ -9,7 +9,7 @@
</div>
<ul id="emailList">
</ul>
<!-- <div id="disclaimer">You may, at any time, <a href="#">cancel your account</a></div> -->
<div id="disclaimer">You may, at any time, <a href="#" id="cancelAccount">cancel your account</a></div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment