Hi! I am a bit worried about displaying one-time codes in messages of my messengers, so I decided to find out how to hide it.
As I use only Signal as 2FA, I have modified manually /apps/twofactor_gateway/lib/Provider/AProvider.php
by adding:
85 $secret = '||'.$secret.'||';
Next time when I receive a code via Signal I will find it hidden like
In order to view it I have to click it and will see the numbers.
Hi! I am a bit worried about displaying one-time codes in messages of my messengers, so I decided to find out how to hide it.
As I use only Signal as 2FA, I have modified manually
/apps/twofactor_gateway/lib/Provider/AProvider.phpby adding:
85
$secret = '||'.$secret.'||';Next time when I receive a code via Signal I will find it hidden like
In order to view it I have to click it and will see the numbers.