mirror of
https://github.com/google/nomulus
synced 2026-02-04 12:02:30 +00:00
Set the registrar WHOIS email in the web console creation endpoint
We set the initial value to the "icann referral email", but registrars can change it later if they want. Although this value isn't strictly required, we assume it exists in the spec11 report. Also changed the name of the contact email from "email" to "consoleUserEmail" ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=235734200
This commit is contained in:
@@ -73,6 +73,12 @@ public final class RegistrarConsoleModule {
|
||||
return extractOptionalParameter(req, "referralEmail");
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter("consoleUserEmail")
|
||||
static Optional<String> provideOptionalConsoleUserEmail(HttpServletRequest req) {
|
||||
return extractOptionalParameter(req, "consoleUserEmail");
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter("email")
|
||||
static Optional<String> provideOptionalEmail(HttpServletRequest req) {
|
||||
|
||||
Reference in New Issue
Block a user