mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Extend example extension code with more details
This commit is contained in:
parent
5e2d9c4fb0
commit
7135af995d
6 changed files with 122 additions and 12 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
// https://github.com/the-djmaze/snappymail/issues/349
|
||||
addEventListener('sm-show-screen', e => {
|
||||
if ('settings' !== e.detail && rl.settings.get('SetupTwoFactor')) {
|
||||
if (!e.detail.startsWith('settings') && rl.settings.get('SetupTwoFactor')) {
|
||||
e.preventDefault();
|
||||
forceTOTP();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue