[FIX] Исправлен StdProtectHandler

This commit is contained in:
Gravit 2019-06-11 10:27:36 +07:00
parent 53fe4a12f1
commit d69ab3c28c
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -21,7 +21,7 @@ public boolean verifyClientSecureToken(String token, String secureKey) {
@Override @Override
public boolean allowGetAccessToken(AuthResponse.AuthContext context) { public boolean allowGetAccessToken(AuthResponse.AuthContext context) {
return !(context.authType == AuthResponse.ConnectTypes.CLIENT); return (context.authType == AuthResponse.ConnectTypes.CLIENT);
} }
@Override @Override