mirror of
https://github.com/google/nomulus
synced 2026-01-11 00:10:36 +00:00
Add valid TLD check to LrpToken validation
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131438274
This commit is contained in:
@@ -192,7 +192,7 @@ public abstract class BaseDomainCreateFlow<R extends DomainBase, B extends Build
|
||||
&& !command.getAuthInfo().getPw().getValue().isEmpty()
|
||||
&& !isAnchorTenantViaReservation;
|
||||
lrpToken = isLrpApplication
|
||||
? TldSpecificLogicProxy.getMatchingLrpToken(command)
|
||||
? TldSpecificLogicProxy.getMatchingLrpToken(command, tld)
|
||||
: Optional.<LrpToken>absent();
|
||||
// Superusers can create reserved domains, force creations on domains that require a claims
|
||||
// notice without specifying a claims key, and override blocks on registering premium domains.
|
||||
|
||||
Reference in New Issue
Block a user