1
0
mirror of https://github.com/google/nomulus synced 2026-02-07 13:31:12 +00:00

Tweak the registrar-ote-setup web console

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227736173
This commit is contained in:
guyben
2019-01-03 13:05:21 -08:00
committed by Ben McIlwain
parent 338f7343ba
commit 2af24c945c
5 changed files with 71 additions and 19 deletions

View File

@@ -53,4 +53,10 @@ public final class RegistrarConsoleModule {
static String provideEmail(HttpServletRequest req) {
return extractRequiredParameter(req, "email");
}
@Provides
@Parameter("password")
static Optional<String> provideOptionalPassword(HttpServletRequest req) {
return extractOptionalParameter(req, "password");
}
}