Skip to content

Commit 0f5cf40

Browse files
fix: Skip pre-trial validation when clicking on Log in or Sign up (#22156) (#22160)
Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
1 parent 36c6c24 commit 0f5cf40

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

vaadin-dev-server/src/main/java/com/vaadin/base/devserver/DebugWindowConnection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,7 @@ private void handleLicenseKeyDownload(AtmosphereResource resource,
387387

388388
LicenseChecker.checkLicenseAsync(product.getName(),
389389
product.getVersion(), BuildType.DEVELOPMENT,
390-
new LicenseDownloadCallback(resource, product),
391-
Capabilities.of(Capability.PRE_TRIAL));
390+
new LicenseDownloadCallback(resource, product));
392391
send(resource, "license-download-started", product);
393392
}
394393

vaadin-dev-server/src/test/java/com/vaadin/base/devserver/DebugWindowConnectionLicenseCheckTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ private DebugWindowMessage doDownloadKey(boolean success,
228228
.checkLicenseAsync(eq(TEST_PRODUCT.getName()),
229229
eq(TEST_PRODUCT.getVersion()),
230230
eq(BuildType.DEVELOPMENT),
231-
any(LicenseChecker.Callback.class),
232-
any(Capabilities.class)))
231+
any(LicenseChecker.Callback.class)))
233232
.then(i -> {
234233
LicenseChecker.Callback callback = i.getArgument(3,
235234
LicenseChecker.Callback.class);

0 commit comments

Comments
 (0)