Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 0d15fab

Browse files
Merge pull request #637 from storyblok/hotfix/2fa-add-message
fix: add phone in message
2 parents eaf31cf + 8805cef commit 0d15fab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/utils/api.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ module.exports = {
3535
const { data } = response
3636

3737
if (data.otp_required) {
38-
// code sending to phone is currently not triggered in the CLI
3938
const questions = [
4039
{
4140
type: 'input',
4241
name: 'otp_attempt',
43-
message: 'We sent a code to your email, please insert the authentication code:',
42+
message: 'We sent a code to your email / phone, please insert the authentication code:',
4443
validate (value) {
4544
if (value.length > 0) {
4645
return true

0 commit comments

Comments
 (0)