diff --git a/src/lib/actions/analytics.ts b/src/lib/actions/analytics.ts index e16e6587c..5f4c5e18b 100644 --- a/src/lib/actions/analytics.ts +++ b/src/lib/actions/analytics.ts @@ -194,6 +194,7 @@ export enum Submit { AuthPasswordHistoryUpdate = 'submit_auth_password_history_limit_update', AuthPasswordDictionaryUpdate = 'submit_auth_password_dictionary_update', AuthPersonalDataCheckUpdate = 'submit_auth_personal_data_check_update', + AuthMockNumbersUpdate = 'submit_auth_mock_numbers_update', SessionsLengthUpdate = 'submit_sessions_length_update', SessionsLimitUpdate = 'submit_sessions_limit_update', SessionDelete = 'submit_session_delete', diff --git a/src/routes/console/project-[project]/auth/security/+page.svelte b/src/routes/console/project-[project]/auth/security/+page.svelte index f69b91395..0e3ac4f68 100644 --- a/src/routes/console/project-[project]/auth/security/+page.svelte +++ b/src/routes/console/project-[project]/auth/security/+page.svelte @@ -1,5 +1,6 @@ + +
+ + Mock Phone Numbers +

+ Generate fictional numbers to simulate phone verification while testing demo accounts. + A maximum of 10 phone numbers can be generated. +

+ + + {#if $numbers.length > 0} +
    + {#each $numbers as number, index} + + + + + + + + {/each} +
+ {#if $numbers.length < 10} + + {/if} + {:else} + { + addPhoneNumber({ + phone: '', + otp: '' + }); + }}>Create a mock phone number + {/if} +
+ + + + +
+