Fix admin password reset

This commit is contained in:
Arnaud Fontaine 2018-02-07 09:27:43 +01:00
parent 62a6a9c41f
commit 9a989749d8

View File

@ -598,7 +598,9 @@ public final class SmartPGPApplet extends Applet {
return;
case (byte)0x83:
data.admin_pin.reset();
if(data.admin_pin.isValidated()) {
data.admin_pin.reset();
}
return;
default: