Commit 8a00a1c4 authored by Michal Čihař's avatar Michal Čihař

Implement social auth disconnect

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 0fa8da28
......@@ -464,4 +464,12 @@ $(function () {
}
});
};
/* Social auth disconnect */
$('a.disconnect').click(function (e) {
e.preventDefault();
$('form#disconnect-form')
.attr('action', $(this).attr('href'))
.submit();
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment