Accept email address automatically
When we do Gerrit development work we start by creating a "gerrit test site". During test site initialization, normally we select "DEVELOPMENT_BECOME_ANY_ACCOUNT" mode. However, to setup test user accounts we need to register users. For every test-user we add to the test site, Gerrit wants to send a confirmation email which we need to receive and then click the link in it. This change will enable Gerrit accept email address automatically in "DEVELOPMENT_BECOME_ANY_ACCOUNT" mode. Change-Id: Iec6f34e0ecd335b04ef5bf1a5d61c8a906cfd19f
This commit is contained in:
@@ -72,7 +72,7 @@ public interface AccountSecurity extends RemoteJsonService {
|
||||
AsyncCallback<VoidResult> callback);
|
||||
|
||||
@SignInRequired
|
||||
void registerEmail(String address, AsyncCallback<VoidResult> callback);
|
||||
void registerEmail(String address, AsyncCallback<Account> callback);
|
||||
|
||||
@SignInRequired
|
||||
void validateEmail(String token, AsyncCallback<VoidResult> callback);
|
||||
|
Reference in New Issue
Block a user