diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/password/PasswordVerifier.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/password/PasswordVerifier.java index 4f1eaf66..6617f7fc 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/password/PasswordVerifier.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/password/PasswordVerifier.java @@ -2,9 +2,6 @@ import pro.gravit.utils.ProviderMap; -import java.security.NoSuchAlgorithmException; -import java.security.spec.InvalidKeySpecException; - public abstract class PasswordVerifier { public static final ProviderMap providers = new ProviderMap<>("PasswordVerifier"); private static boolean registeredProviders = false; @@ -22,7 +19,7 @@ public static void registerProviders() { } } - public abstract boolean check(String encryptedPassword, String password) throws NoSuchAlgorithmException, InvalidKeySpecException; + public abstract boolean check(String encryptedPassword, String password); public String encrypt(String password) { throw new UnsupportedOperationException();