mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Enhancement to Two Factor Auth (Closes #123)
This commit is contained in:
parent
e86afd8d6e
commit
fa8d7e5ebe
32 changed files with 150 additions and 56 deletions
|
|
@ -1101,12 +1101,14 @@ RainLoopApp.prototype.bootstart = function ()
|
|||
Plugins.runHook('rl-start-user-screens');
|
||||
RL.pub('rl.bootstart-user-screens');
|
||||
|
||||
if (!!RL.settingsGet('AccountSignMe'))
|
||||
if (!!RL.settingsGet('AccountSignMe') && window.navigator.registerProtocolHandler)
|
||||
{
|
||||
_.delay(function () {
|
||||
window.navigator.registerProtocolHandler('mailto',
|
||||
window.location.protocol + '//' + window.location.host + window.location.pathname + '?mailto&to=%s',
|
||||
'' + (RL.settingsGet('Title') || 'RainLoop'));
|
||||
try {
|
||||
window.navigator.registerProtocolHandler('mailto',
|
||||
window.location.protocol + '//' + window.location.host + window.location.pathname + '?mailto&to=%s',
|
||||
'' + (RL.settingsGet('Title') || 'RainLoop'));
|
||||
} catch(e) {}
|
||||
|
||||
if (RL.settingsGet('MailToEmail'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue