#458 fix on email subject message and on send sms

This commit is contained in:
Antonio Cordeddu
2022-08-11 12:15:53 +02:00
parent 8b6c6282f9
commit 902970c718
30 changed files with 54 additions and 31 deletions

View File

@ -66,7 +66,6 @@ class TwoFactorSmsCodeGeneratorService implements ServiceInterface
$mobilePhone=$user->getAuthTfMobilePhone();
if( null===$mobilePhone || $mobilePhone=='' ){
Yii::$app->session->addFlash('error', Yii::t('usuario','Mobile phone not found, please check your profile'));
return false;
}
// send sms