fix(security.gbapp): E-mail used with no spellchecker turned on.
This commit is contained in:
parent
8767d0b5f9
commit
d2b0a2073b
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ export class ProfileDialog extends IGBDialog {
|
|||
return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)/gi);
|
||||
};
|
||||
|
||||
const value = extractEntity(step.result);
|
||||
const value = extractEntity(step.context.activity.originalText);
|
||||
|
||||
if (value === null) {
|
||||
await step.context.sendActivity(Messages[locale].validation_enter_valid_email);
|
||||
|
|
Loading…
Add table
Reference in a new issue