|
@@ -8,7 +8,7 @@ import {
|
|
|
ModalFooter,
|
|
ModalFooter,
|
|
|
} from 'reactstrap';
|
|
} from 'reactstrap';
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+import { toastSuccess } from '~/client/util/apiNotification';
|
|
|
import { usePersonalSettings, useSWRxPersonalExternalAccounts } from '~/stores/personal-settings';
|
|
import { usePersonalSettings, useSWRxPersonalExternalAccounts } from '~/stores/personal-settings';
|
|
|
|
|
|
|
|
import LdapAuthTest from '../Admin/Security/LdapAuthTest';
|
|
import LdapAuthTest from '../Admin/Security/LdapAuthTest';
|
|
@@ -39,8 +39,9 @@ const AssociateModal = (props: Props): JSX.Element => {
|
|
|
mutatePersonalExternalAccounts();
|
|
mutatePersonalExternalAccounts();
|
|
|
|
|
|
|
|
closeModalHandler();
|
|
closeModalHandler();
|
|
|
|
|
+ toastSuccess(t('security_setting.updated_general_security_setting'));
|
|
|
|
|
|
|
|
- }, [associateLdapAccount, closeModalHandler, mutatePersonalExternalAccounts, password, username]);
|
|
|
|
|
|
|
+ }, [associateLdapAccount, closeModalHandler, mutatePersonalExternalAccounts, password, t, username]);
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
return (
|