Fix bug where parsing otp codes was impossible

Y I K E S
pull/66/head
Michael Schättgen 6 years ago
parent feea9a2e67
commit b958145761

@ -58,7 +58,7 @@ public class GoogleAuthInfo {
public static GoogleAuthInfo parseUri(Uri uri) throws GoogleAuthInfoException {
String scheme = uri.getScheme();
if (scheme == null || scheme.equals("otpauth")) {
if (scheme == null || !scheme.equals("otpauth")) {
throw new GoogleAuthInfoException("unsupported protocol");
}

Loading…
Cancel
Save