@micha.bigler/ui-core-micha 1.4.14 → 1.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
+ //src/auth/webauthnclient.jsx
1
2
  export async function registerPasskeyStart() {
2
- const res = await axios.post(
3
+ const res = await apiClient.post(
3
4
  `${HEADLESS_BASE}/mfa/webauthn/register/start`,
4
5
  {},
5
6
  { withCredentials: true },
@@ -9,7 +10,7 @@ export async function registerPasskeyStart() {
9
10
 
10
11
  export async function registerPasskeyComplete(publicKeyCredential) {
11
12
  const payload = serializePublicKeyCredential(publicKeyCredential);
12
- const res = await axios.post(
13
+ const res = await apiClient.post(
13
14
  `${HEADLESS_BASE}/mfa/webauthn/register/complete`,
14
15
  payload,
15
16
  { withCredentials: true },
@@ -42,7 +42,7 @@ export function AccessCodeManager() {
42
42
  setErrorKey(null);
43
43
  setSuccessKey(null);
44
44
  try {
45
- const res = await axios.get(`${ACCESS_CODES_BASE}/`, {
45
+ const res = await apiClient.get(`${ACCESS_CODES_BASE}/`, {
46
46
  withCredentials: true,
47
47
  });
48
48
  setCodes(res.data || []);
@@ -70,7 +70,7 @@ export function AccessCodeManager() {
70
70
  setErrorKey(null);
71
71
  setSuccessKey(null);
72
72
  try {
73
- const res = await axios.post(
73
+ const res = await apiClient.post(
74
74
  `${ACCESS_CODES_BASE}/`,
75
75
  { code },
76
76
  { withCredentials: true },
@@ -91,7 +91,7 @@ export function AccessCodeManager() {
91
91
 
92
92
  const handleAddManual = async () => {
93
93
  if (!manualCode.trim()) {
94
- setErrorKey('Auth.ACCESS_CODE_REQUIRED_ADMIN');
94
+ setErrorKey('Auth.SIGNUP_ACCESS_CODE_REQUIRED');
95
95
  return;
96
96
  }
97
97
  await handleCreateCode(manualCode.trim());
@@ -188,7 +188,7 @@ export function AccessCodeManager() {
188
188
  disabled={submitting}
189
189
  >
190
190
  {submitting
191
- ? t('Auth.ACCESS_CODE_SAVING')
191
+ ? t('Auth.SAVE_BUTTON_LOADING')
192
192
  : t('Auth.ACCESS_CODE_GENERATE_BUTTON')}
193
193
  </Button>
194
194
  </Box>
@@ -99,7 +99,7 @@ const LoginForm = ({
99
99
  fullWidth
100
100
  disabled={disabled}
101
101
  >
102
- {t('Auth.LOGIN_SUBMIT')}
102
+ {t('Auth.PAGE_LOGIN_TITLE')}
103
103
  </Button>
104
104
  </Box>
105
105
 
@@ -205,10 +205,6 @@ const MfaLoginComponent = ({ availableTypes, identifier, onSuccess, onCancel })
205
205
  </Typography>
206
206
  <TextField
207
207
  label={t('Auth.MFA_HELP_MESSAGE_LABEL', 'Your message to support')}
208
- helperText={t(
209
- 'Auth.MFA_HELP_MESSAGE_HELP',
210
- 'Optional, but helps support verify your identity.',
211
- )}
212
208
  multiline
213
209
  minRows={3}
214
210
  fullWidth
@@ -59,7 +59,7 @@ export function ProfileComponent({
59
59
  setSuccessKey(null);
60
60
 
61
61
  try {
62
- const res = await axios.get(`${USERS_BASE}/current/`, {
62
+ const res = await apiClient.get(`${USERS_BASE}/current/`, {
63
63
  withCredentials: true,
64
64
  });
65
65
  if (!mounted) return;
@@ -38,7 +38,7 @@ const SecurityComponent = ({
38
38
  setErrorKey(null);
39
39
  try {
40
40
  await authApi.changePassword(currentPassword, newPassword);
41
- setMessageKey('Auth.PASSWORD_CHANGE_SUCCESS');
41
+ setMessageKey('Auth.RESET_PASSWORD_SUCCESS');
42
42
  } catch (err) {
43
43
  setErrorKey(err.code || 'Auth.PASSWORD_CHANGE_FAILED');
44
44
  }
@@ -73,7 +73,7 @@ const SecurityComponent = ({
73
73
 
74
74
  {/* Password section */}
75
75
  <Typography variant="h6" gutterBottom>
76
- {t('Security.PASSWORD_SECTION_TITLE')}
76
+ {t('Security.LOGIN_PASSWORD_LABEL')}
77
77
  </Typography>
78
78
  <PasswordChangeForm onSubmit={handlePasswordChange} />
79
79
 
@@ -156,7 +156,7 @@ const SupportRecoveryRequestsTab = () => {
156
156
  {t('Support.RECOVERY_COL_CREATED', 'Created')}
157
157
  </TableCell>
158
158
  <TableCell>
159
- {t('Support.RECOVERY_COL_USER', 'User')}
159
+ {t('Support.RECOVERY_USER', 'User')}
160
160
  </TableCell>
161
161
  <TableCell>
162
162
  {t('Support.RECOVERY_COL_STATUS', 'Status')}
@@ -202,7 +202,7 @@ const SupportRecoveryRequestsTab = () => {
202
202
  <Box sx={{ mb: 2 }}>
203
203
  <Typography variant="body2" sx={{ mb: 1 }}>
204
204
  <strong>
205
- {t('Support.RECOVERY_REVIEW_USER', 'User')}:
205
+ {t('Support.RECOVERY_USER', 'User')}:
206
206
  </strong>{' '}
207
207
  {selectedRequest.user_email || selectedRequest.user}
208
208
  </Typography>
@@ -257,7 +257,7 @@ const SupportRecoveryRequestsTab = () => {
257
257
  </DialogContent>
258
258
  <DialogActions>
259
259
  <Button onClick={closeDialog}>
260
- {t('Common.CANCEL', 'Cancel')}
260
+ {t('Support.CANCEL', 'Cancel')}
261
261
  </Button>
262
262
  <Button
263
263
  onClick={handleReject}
@@ -1,16 +1,6 @@
1
1
  // ui-core-micha/src/i18n/authTranslations.js
2
2
  // Gleiche Struktur wie deine app-eigene translations.json
3
3
  export const authTranslations = {
4
- "Auth.Login.Title": {
5
- de: "Anmelden",
6
- fr: "Connexion",
7
- en: "Login",
8
- },
9
- "Auth.Mfa.Required": {
10
- de: "Zwei-Faktor-Authentifizierung erforderlich.",
11
- fr: "Authentification à deux facteurs requise.",
12
- en: "Two-factor authentication required.",
13
- },
14
4
  "Auth.INVALID_CREDENTIALS": {
15
5
  "de": "E-Mail-Adresse oder Passwort ist falsch.",
16
6
  "fr": "Adresse e-mail ou mot de passe incorrect.",
@@ -236,16 +226,6 @@ export const authTranslations = {
236
226
  "fr": "Les codes de récupération n'ont pas pu être regénérés.",
237
227
  "en": "Recovery codes could not be regenerated."
238
228
  },
239
- "Auth.PASSWORD_CHANGE_SUCCESS": {
240
- "de": "Das Passwort wurde erfolgreich geändert.",
241
- "fr": "Le mot de passe a été modifié avec succès.",
242
- "en": "Password changed successfully."
243
- },
244
- "Auth.PAGE_CHANGE_PASSWORD_TITLE": {
245
- "de": "Passwort ändern",
246
- "fr": "Modifier le mot de passe",
247
- "en": "Change password"
248
- },
249
229
  "Auth.PAGE_CHANGE_PASSWORD_SUBTITLE": {
250
230
  "de": "Geben Sie Ihr aktuelles und ein neues Passwort ein.",
251
231
  "fr": "Saisissez votre mot de passe actuel et un nouveau mot de passe.",
@@ -294,11 +274,6 @@ export const authTranslations = {
294
274
  "fr": "Le mot de passe a été modifié. Vous pouvez maintenant vous connecter.",
295
275
  "en": "Password changed successfully. You can now log in."
296
276
  },
297
- "Auth.PAGE_RESET_REQUEST_TITLE": {
298
- "de": "Passwort zurücksetzen",
299
- "fr": "Réinitialiser le mot de passe",
300
- "en": "Reset password"
301
- },
302
277
  "Auth.PAGE_RESET_REQUEST_SUBTITLE": {
303
278
  "de": "Geben Sie Ihre E-Mail-Adresse ein, um den Link zum Zurücksetzen zu erhalten.",
304
279
  "fr": "Saisissez votre adresse e-mail pour recevoir le lien de réinitialisation.",
@@ -309,11 +284,6 @@ export const authTranslations = {
309
284
  "fr": "Veuillez saisir une adresse e-mail.",
310
285
  "en": "Please enter an email address."
311
286
  },
312
- "Auth.PAGE_SIGNUP_TITLE": {
313
- "de": "Registrieren",
314
- "fr": "Inscription",
315
- "en": "Sign up"
316
- },
317
287
  "Auth.PAGE_SIGNUP_SUBTITLE": {
318
288
  "de": "Geben Sie Ihre E-Mail-Adresse und den Zugangscode ein, um eine Einladung anzufordern.",
319
289
  "fr": "Saisissez votre adresse e-mail et le code d'accès pour demander une invitation.",
@@ -325,12 +295,6 @@ export const authTranslations = {
325
295
  "fr": "Adresse e-mail",
326
296
  "en": "Email address"
327
297
  },
328
- "Auth.SIGNUP_ACCESS_CODE_LABEL": {
329
- "de": "Zugangscode",
330
- "fr": "Code d'accès",
331
- "en": "Access code"
332
- },
333
-
334
298
  "Auth.SIGNUP_SUBMIT": {
335
299
  "de": "Einladung anfordern",
336
300
  "fr": "Demander une invitation",
@@ -393,11 +357,6 @@ export const authTranslations = {
393
357
  "fr": "Longueur : {{length}}",
394
358
  "en": "Length: {{length}}"
395
359
  },
396
- "Auth.ACCESS_CODE_SAVING": {
397
- "de": "Wird gespeichert…",
398
- "fr": "Enregistrement…",
399
- "en": "Saving…"
400
- },
401
360
  "Auth.ACCESS_CODE_GENERATE_BUTTON": {
402
361
  "de": "Code generieren",
403
362
  "fr": "Générer un code",
@@ -418,12 +377,6 @@ export const authTranslations = {
418
377
  "fr": "Ajouter",
419
378
  "en": "Add"
420
379
  },
421
-
422
- "Auth.ACCESS_CODE_REQUIRED_ADMIN": {
423
- "de": "Bitte geben Sie einen Zugangscode ein.",
424
- "fr": "Veuillez saisir un code d'accès.",
425
- "en": "Please enter an access code."
426
- },
427
380
  "Auth.ACCESS_CODE_LIST_FAILED": {
428
381
  "de": "Zugangscodes konnten nicht geladen werden.",
429
382
  "fr": "Impossible de charger les codes d'accès.",
@@ -454,11 +407,6 @@ export const authTranslations = {
454
407
  "fr": "Mot de passe",
455
408
  "en": "Password"
456
409
  },
457
- "Auth.LOGIN_SUBMIT": {
458
- "de": "Anmelden",
459
- "fr": "Connexion",
460
- "en": "Log in"
461
- },
462
410
  "Auth.LOGIN_SIGNUP_BUTTON": {
463
411
  "de": "Registrieren",
464
412
  "fr": "Créer un compte",
@@ -788,11 +736,6 @@ export const authTranslations = {
788
736
  "fr": "Vous vous êtes connecté avec un code de récupération. Veuillez vérifier vos paramètres de sécurité, configurer une clé d’accès ou une application d’authentification et générer de nouveaux codes de récupération.",
789
737
  "en": "You have signed in using a recovery code. Please review your security settings, set up a passkey or authenticator app, and generate new recovery codes."
790
738
  },
791
- "Security.PASSWORD_SECTION_TITLE": {
792
- "de": "Passwort",
793
- "fr": "Mot de passe",
794
- "en": "Password"
795
- },
796
739
  "Security.SOCIAL_SECTION_TITLE": {
797
740
  "de": "Soziale Logins",
798
741
  "fr": "Connexions sociales",
@@ -818,11 +761,6 @@ export const authTranslations = {
818
761
  "fr": "Veuillez confirmer votre connexion à l’aide d’une des méthodes disponibles.",
819
762
  "en": "Please confirm your login using one of the available methods."
820
763
  },
821
- "Auth.MFA_SUBTITLE_SHORT": {
822
- "de": "Bitte bestätige deine Anmeldung mit einer der verfügbaren Methoden.",
823
- "fr": "Veuillez confirmer votre connexion à l’aide d’une des méthodes disponibles.",
824
- "en": "Please confirm your login using one of the available methods."
825
- },
826
764
  "Auth.MFA_USE_PASSKEY": {
827
765
  "de": "Passkey / Sicherheitsschlüssel verwenden",
828
766
  "fr": "Utiliser une clé d’accès / clé de sécurité",
@@ -868,16 +806,6 @@ export const authTranslations = {
868
806
  "fr": "Récupération de compte",
869
807
  "en": "Account recovery"
870
808
  },
871
- "Auth.MFA_IDENTIFIER_REQUIRED": {
872
- "de": "E-Mail-Adresse oder Kennung ist erforderlich.",
873
- "fr": "L’adresse e-mail ou l’identifiant est requis.",
874
- "en": "Email address or identifier is required."
875
- },
876
- "Auth.MFA_HELP_REQUESTED": {
877
- "de": "Falls dieses Konto existiert, wurde Ihre Anfrage dem Support weitergeleitet. Bitte kontaktiere den Support für weitere Hilfe.",
878
- "fr": "Si ce compte existe, votre demande a été transmise au support. Veuillez contacter le support pour obtenir de l’aide supplémentaire.",
879
- "en": "If this account exists, your request has been forwarded to support. Please contact support for further assistance."
880
- },
881
809
  "Support.RECOVERY_APPROVE_DIALOG_TITLE": {
882
810
  "de": "Kontowiederherstellung bestätigen",
883
811
  "fr": "Confirmer la récupération du compte",
@@ -898,11 +826,6 @@ export const authTranslations = {
898
826
  "fr": "Décrivez brièvement pourquoi vous approuvez cette demande.",
899
827
  "en": "Briefly describe why you are approving this request."
900
828
  },
901
- "Support.RECOVERY_APPROVE_SUBMIT": {
902
- "de": "Link senden",
903
- "fr": "Envoyer le lien",
904
- "en": "Send link"
905
- },
906
829
  "Auth.MFA_HELP_DIALOG_TITLE": {
907
830
  "de": "Hilfe bei der Anmeldung",
908
831
  "fr": "Aide pour la connexion",
@@ -918,11 +841,6 @@ export const authTranslations = {
918
841
  "fr": "Votre message au support",
919
842
  "en": "Your message to support"
920
843
  },
921
- "Auth.MFA_HELP_MESSAGE_HELP": {
922
- "de": "Optional, hilft dem Support bei der Überprüfung Ihrer Identität.",
923
- "fr": "Facultatif, mais aide le support à vérifier votre identité.",
924
- "en": "Optional, but helps support verify your identity."
925
- },
926
844
  "Auth.MFA_HELP_SUBMIT": {
927
845
  "de": "Anfrage senden",
928
846
  "fr": "Envoyer la demande",
@@ -944,16 +862,16 @@ export const authTranslations = {
944
862
  "fr": "Refuser la récupération de compte",
945
863
  "en": "Reject account recovery"
946
864
  },
947
- "Support.RECOVERY_REJECT_CONFIRM_QUESTION": {
948
- "de": "Sind Sie sicher, dass Sie diese Wiederherstellungsanfrage ablehnen möchten?",
949
- "fr": "Êtes-vous sûr de vouloir refuser cette demande de récupération ?",
950
- "en": "Are you sure you want to reject this recovery request?"
951
- },
952
865
  "Support.RECOVERY_REJECT_SUBMIT": {
953
866
  "de": "Anfrage ablehnen",
954
867
  "fr": "Refuser la demande",
955
868
  "en": "Reject request"
956
869
  },
870
+ "Support.CANCEL": {
871
+ "de": "Abbrechen",
872
+ "fr": "Annuler",
873
+ "en": "Cancel"
874
+ },
957
875
  "Support.RECOVERY_REQUESTS_TITLE": {
958
876
  "de": "Anfragen zur Kontowiederherstellung",
959
877
  "fr": "Demandes de récupération de compte",
@@ -994,7 +912,7 @@ export const authTranslations = {
994
912
  "fr": "Créée le",
995
913
  "en": "Created"
996
914
  },
997
- "Support.RECOVERY_COL_USER": {
915
+ "Support.RECOVERY_USER": {
998
916
  "de": "Benutzer",
999
917
  "fr": "Utilisateur",
1000
918
  "en": "User"
@@ -1020,11 +938,6 @@ export const authTranslations = {
1020
938
  "fr": "Examiner la demande de récupération de compte",
1021
939
  "en": "Review recovery request"
1022
940
  },
1023
- "Support.RECOVERY_REVIEW_USER": {
1024
- "de": "Benutzer",
1025
- "fr": "Utilisateur",
1026
- "en": "User"
1027
- },
1028
941
  "Support.RECOVERY_REVIEW_CREATED": {
1029
942
  "de": "Angefragt am",
1030
943
  "fr": "Demandée le",
@@ -1040,23 +953,6 @@ export const authTranslations = {
1040
953
  "fr": "Aucune explication fournie.",
1041
954
  "en": "No message provided."
1042
955
  },
1043
-
1044
- "Support.RECOVERY_NOTE_LABEL": {
1045
- "de": "Begründung für Ihre Entscheidung",
1046
- "fr": "Raison de votre décision",
1047
- "en": "Reason for your decision"
1048
- },
1049
- "Support.RECOVERY_NOTE_HELP": {
1050
- "de": "Beschreiben Sie kurz, warum Sie diese Anfrage akzeptieren oder ablehnen.",
1051
- "fr": "Décrivez brièvement pourquoi vous acceptez ou refusez cette demande.",
1052
- "en": "Briefly explain why you approve or reject this request."
1053
- },
1054
-
1055
- "Support.RECOVERY_REJECT_SUBMIT": {
1056
- "de": "Anfrage ablehnen",
1057
- "fr": "Refuser la demande",
1058
- "en": "Reject request"
1059
- },
1060
956
  "Support.RECOVERY_APPROVE_SUBMIT": {
1061
957
  "de": "Akzeptieren und Link senden",
1062
958
  "fr": "Accepter et envoyer le lien",
@@ -1072,33 +968,6 @@ export const authTranslations = {
1072
968
  "fr": "La demande n’a pas pu être acceptée.",
1073
969
  "en": "Failed to approve the recovery request."
1074
970
  },
1075
-
1076
- "Auth.MFA_HELP_DIALOG_TITLE": {
1077
- "de": "Hilfe bei der Anmeldung",
1078
- "fr": "Aide pour la connexion",
1079
- "en": "Help with sign-in"
1080
- },
1081
- "Auth.MFA_HELP_DIALOG_DESCRIPTION": {
1082
- "de": "Beschreiben Sie kurz, warum Sie die verfügbaren Methoden nicht nutzen können. Eine Support-Person wird Ihre Anfrage prüfen.",
1083
- "fr": "Décrivez brièvement pourquoi vous ne pouvez pas utiliser les méthodes disponibles. Une personne du support examinera votre demande.",
1084
- "en": "Briefly describe why you cannot use the available methods. A support person will review your request."
1085
- },
1086
- "Auth.MFA_HELP_MESSAGE_LABEL": {
1087
- "de": "Ihre Nachricht an den Support",
1088
- "fr": "Votre message au support",
1089
- "en": "Your message to support"
1090
- },
1091
- "Auth.MFA_HELP_MESSAGE_HELP": {
1092
- "de": "Optional, hilft dem Support aber bei der Überprüfung Ihrer Identität.",
1093
- "fr": "Optionnel, mais aide le support à vérifier votre identité.",
1094
- "en": "Optional, but helps support verify your identity."
1095
- },
1096
- "Auth.MFA_HELP_SUBMIT": {
1097
- "de": "Anfrage senden",
1098
- "fr": "Envoyer la demande",
1099
- "en": "Send request"
1100
- },
1101
-
1102
971
  "Auth.MFA_IDENTIFIER_REQUIRED": {
1103
972
  "de": "Bitte geben Sie eine E-Mail-Adresse an.",
1104
973
  "fr": "Veuillez indiquer une adresse e-mail.",
@@ -1109,20 +978,4 @@ export const authTranslations = {
1109
978
  "fr": "Si un compte existe avec cette adresse e-mail, votre demande a été transmise au support.",
1110
979
  "en": "If an account with this email exists, your request has been forwarded to support."
1111
980
  },
1112
- "Auth.MFA_HELP_REQUEST_FAILED": {
1113
- "de": "Die Anfrage an den Support konnte nicht gesendet werden.",
1114
- "fr": "Impossible d’envoyer la demande au support.",
1115
- "en": "Failed to send the request to support."
1116
- }
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
- // ...
1128
981
  };
@@ -135,7 +135,7 @@ export function LoginPage() {
135
135
  {recoveryToken && !errorKey && (
136
136
  <Alert severity="info" sx={{ mb: 2 }}>
137
137
  {t(
138
- 'Auth.RECOVERY_LOGIN_INFO',
138
+ 'Auth.RECOVERY_LOGIN_WARNING',
139
139
  'Your recovery link was validated. Please sign in with your password to continue.',
140
140
  )}
141
141
  </Alert>
@@ -21,7 +21,7 @@ export function PasswordChangePage() {
21
21
 
22
22
  try {
23
23
  await changePassword(oldPassword, newPassword);
24
- setSuccessKey('Auth.PASSWORD_CHANGE_SUCCESS');
24
+ setSuccessKey('Auth.RESET_PASSWORD_SUCCESS');
25
25
  } catch (err) {
26
26
  setErrorKey(err.code || 'Auth.PASSWORD_CHANGE_FAILED');
27
27
  } finally {
@@ -31,12 +31,12 @@ export function PasswordChangePage() {
31
31
 
32
32
  return (
33
33
  <NarrowPage
34
- title={t('Auth.PAGE_CHANGE_PASSWORD_TITLE')}
34
+ title={t('Auth.CHANGE_PASSWORD_BUTTON')}
35
35
  subtitle={t('Auth.PAGE_CHANGE_PASSWORD_SUBTITLE')}
36
36
  >
37
37
  <Helmet>
38
38
  <title>
39
- {t('App.NAME')} – {t('Auth.PAGE_CHANGE_PASSWORD_TITLE')}
39
+ {t('App.NAME')} – {t('Auth.CHANGE_PASSWORD_BUTTON')}
40
40
  </title>
41
41
  </Helmet>
42
42
 
@@ -37,12 +37,12 @@ export function PasswordResetRequestPage() {
37
37
 
38
38
  return (
39
39
  <NarrowPage
40
- title={t('Auth.PAGE_RESET_REQUEST_TITLE')}
40
+ title={t('Auth.PAGE_RESET_PASSWORD_TITLE')}
41
41
  subtitle={t('Auth.PAGE_RESET_REQUEST_SUBTITLE')}
42
42
  >
43
43
  <Helmet>
44
44
  <title>
45
- {t('App.NAME')} – {t('Auth.PAGE_RESET_REQUEST_TITLE')}
45
+ {t('App.NAME')} – {t('Auth.PAGE_RESET_PASSWORD_TITLE')}
46
46
  </title>
47
47
  </Helmet>
48
48
 
@@ -65,12 +65,12 @@ export function SignUpPage() {
65
65
 
66
66
  return (
67
67
  <NarrowPage
68
- title={t('Auth.PAGE_SIGNUP_TITLE')}
68
+ title={t('Auth.LOGIN_SIGNUP_BUTTON')}
69
69
  subtitle={t('Auth.PAGE_SIGNUP_SUBTITLE')}
70
70
  >
71
71
  <Helmet>
72
72
  <title>
73
- {t('App.NAME')} – {t('Auth.PAGE_SIGNUP_TITLE')}
73
+ {t('App.NAME')} – {t('Auth.LOGIN_SIGNUP_BUTTON')}
74
74
  </title>
75
75
  </Helmet>
76
76
 
@@ -102,7 +102,7 @@ export function SignUpPage() {
102
102
  />
103
103
 
104
104
  <TextField
105
- label={t('Auth.SIGNUP_ACCESS_CODE_LABEL')}
105
+ label={t('Auth.ACCESS_CODE_LABEL')}
106
106
  type="text"
107
107
  required
108
108
  fullWidth