+
{tombstoneEvent ? (
void };
+ checked: boolean;
+ onToggle: () => void;
};
-export function TrainingNotice({ acknowledge }: TrainingNoticeProps) {
+// Registration only: ticking it is the newcomer's acceptance of the current notice version.
+export function TrainingNotice({ checked, onToggle }: TrainingNoticeProps) {
return (
- {TRAINING_NOTICE}
- {acknowledge && (
-
-
- I understand and agree.
-
- )}
+
+
+ {TRAINING_NOTICE_TEXT}
+
);
}
diff --git a/src/app/pages/auth/login/PasswordLoginForm.tsx b/src/app/pages/auth/login/PasswordLoginForm.tsx
index 6ad6e1b0..3c8641d9 100644
--- a/src/app/pages/auth/login/PasswordLoginForm.tsx
+++ b/src/app/pages/auth/login/PasswordLoginForm.tsx
@@ -35,7 +35,6 @@ import {
} from './loginUtil';
import { PasswordInput } from '../../../components/password-input';
import { FieldError } from '../FiledError';
-import { TrainingNotice } from '../TrainingNotice';
import { getResetPasswordPath } from '../../pathUtils';
import { stopPropagation } from '../../../utils/keyboard';
@@ -256,7 +255,6 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog
-