mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Fix bug where parsing otp codes was impossible
Y I K E S
This commit is contained in:
parent
feea9a2e67
commit
b958145761
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue