Move instances of Client.resendVerification() in components to an action (#5169)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
b87cd4e276
Коммит
479bd1a2b3
@@ -600,3 +600,19 @@ export function resetPassword(code, password, success, error) {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export function resendVerification(email, success, error) {
|
||||
Client.resendVerification(
|
||||
email,
|
||||
() => {
|
||||
if (success) {
|
||||
success();
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
if (error) {
|
||||
error(err);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user