Support to register a new email address via REST
By PUT on /accounts/<account-id>/emails/<email-id> a new email address can be registered for an account. A verification email is sent with a link that needs to be visited to confirm the email address. The WebUI was adapted to use this REST endpoint for registering email addresses. The old RPC to do this was removed. Change-Id: I39c1f72a0c3e0d50883c76c975bbd464f1894095 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -75,10 +75,6 @@ public interface AccountSecurity extends RemoteJsonService {
|
||||
void enterAgreement(String agreementName,
|
||||
AsyncCallback<VoidResult> callback);
|
||||
|
||||
@Audit
|
||||
@SignInRequired
|
||||
void registerEmail(String address, AsyncCallback<Account> callback);
|
||||
|
||||
@Audit
|
||||
@SignInRequired
|
||||
void validateEmail(String token, AsyncCallback<VoidResult> callback);
|
||||
|
||||
Reference in New Issue
Block a user