Skip to content
Snippets Groups Projects
Commit 0222b941 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

remove confusing and ineffective 'logout everywhere' button from manage page - closes #1400

parent e9492625
No related branches found
No related tags found
No related merge requests found
......@@ -96,11 +96,6 @@ BrowserID.manageAccount = (function() {
}
}
function logoutEverywhere(oncomplete) {
storage.logoutEverywhere();
setTimeout(oncomplete, 0);
}
function startEdit(event) {
// XXX add some helpers in the dom library to find section.
event.preventDefault();
......@@ -205,13 +200,6 @@ BrowserID.manageAccount = (function() {
dom.bindEvent("button.edit", "click", startEdit);
dom.bindEvent("button.done", "click", cancelEdit);
dom.bindEvent("button.logout_everywhere", "click", function() {
logoutEverywhere(function() {
$("button.logout_everywhere").fadeOut(700, function() {
$("#logout_everywhere .completion_text").show();
});
});
});
dom.bindEvent("#edit_password_form", "submit", cancelEvent(changePassword));
user.checkAuthentication(function(auth_level) {
......
......@@ -21,16 +21,6 @@
</ul>
</section>
<section id="logout_everywhere">
<header class="cf buttonrow">
<h2>Logout from all websites</h2>
<div class="completion_text"> Logged Out! </div>
<button class="logout_everywhere">logout</button>
</header>
<div class="email">You can sign in again by entering your password. None of your website accounts will be lost.</div></li>
</section>
<section id="edit_password">
<header class="buttonrow cf">
<h2>Password</h2>
......
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