Change registrar console login code in preparation for removing requireLogin

We are going to remove the requireLogin attribute from the action attribute, because it is specific to the UserService API. This is used by four actions:

ConsoleUIAction
RegistrarSettingsAction
RegistrarPaymentSetupAction
RegistrarPaymentAction

Instead, these four actions will now check the login status directly.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=159562335
This commit is contained in:
mountford 2017-06-20 08:16:43 -07:00 committed by Ben McIlwain
parent 17697388b8
commit 2b7f78db98
17 changed files with 151 additions and 112 deletions

View file

@ -41,7 +41,6 @@ import google.registry.ui.server.registrar.ConsoleUiAction;
import google.registry.ui.server.registrar.RegistrarPaymentAction;
import google.registry.ui.server.registrar.RegistrarPaymentSetupAction;
import google.registry.ui.server.registrar.RegistrarSettingsAction;
import google.registry.ui.server.registrar.RegistrarUserModule;
import google.registry.whois.WhoisHttpServer;
import google.registry.whois.WhoisModule;
import google.registry.whois.WhoisServer;
@ -54,7 +53,6 @@ import google.registry.whois.WhoisServer;
DnsModule.class,
EppTlsModule.class,
RdapModule.class,
RegistrarUserModule.class,
RequestModule.class,
WhiteboxModule.class,
WhoisModule.class,