First set Admin PIN, then PIN to prevent Gnuk from going into 'admin less mode'

This commit is contained in:
Dominik Schürmann
2017-11-03 14:06:26 +01:00
parent 3a818e8cde
commit 2cf3e27e51
2 changed files with 9 additions and 3 deletions

View File

@@ -209,6 +209,10 @@ public class SecurityTokenConnection {
}
}
public void resetPw3Validation() {
mPw3Validated = false;
}
@VisibleForTesting
void determineTokenType() throws IOException {
tokenType = mTransport.getTokenTypeIfAvailable();