Commit f530865b authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Hide submit button after password change

Creating a new key pair can take 1-2 seconds. So it could happen that the user click the "Reset password" button again which can lead to many nasty things, e.g. we could create two new key pairs in parallel.
parent f6efbfcf
......@@ -82,6 +82,9 @@ OC.Lostpassword = {
if($('#encrypted-continue').attr('checked')) {
$('#reset-password #submit').hide();
resetDone : function(result){
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