mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02: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:
parent
1b3f77a468
commit
942dc58251
3 changed files with 32 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue