|
@@ -17,6 +17,11 @@ const PasswordResetRequestForm = (props) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const onClickSendPasswordResetRequestMail = async(email) => {
|
|
const onClickSendPasswordResetRequestMail = async(email) => {
|
|
|
|
|
+ if (email == null) {
|
|
|
|
|
+ toastError('err', 'email is required.');
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
try {
|
|
try {
|
|
|
const res = await appContainer.apiPost('/forgot-password', { email });
|
|
const res = await appContainer.apiPost('/forgot-password', { email });
|
|
|
console.log('resHOge', res);
|
|
console.log('resHOge', res);
|