]> git.mxchange.org Git - friendica.git/commit
Add two-factor authentication
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 13 May 2019 05:36:09 +0000 (01:36 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 13 May 2019 05:52:01 +0000 (01:52 -0400)
commitd7e9b91181733ec8f84231fb9e05a890e8f60291
tree371fb60e90a755f75157e408bd1463fc27407142
parenta7feb4bf9faaada78c4861dd4fa52f5390b95fbf
Add two-factor authentication

- Add 2FA login interception in Session::setAuthenticatedForUser
- Add 2fa session variable holding the last auth code
src/App/Router.php
src/Core/Authentication.php
src/Core/Session.php
src/Module/TwoFactor/Recovery.php [new file with mode: 0644]
src/Module/TwoFactor/Verify.php [new file with mode: 0644]
view/templates/twofactor/recovery.tpl [new file with mode: 0644]
view/templates/twofactor/verify.tpl [new file with mode: 0644]