mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[PR #2037] [MERGED] Feature/tfa #2413
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2413
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2037
Author: @tonioo
Created: 10/20/2020
Status: ✅ Merged
Merged: 10/21/2020
Merged by: @tonioo
Base:
master← Head:feature/tfa📝 Commits (7)
7e09b18WIP: two-factor authentication.c0101d8Merge branch 'master' into feature/tfa4ee8d97Added support for 2FA using TOTP devices.bcd97deAdded documentation.84a1c5aUpdated documentation.f35775fAdded missing qrcode requirement.14b4c8bFixed unit tests.📊 Changes
24 files changed (+635 additions, -21 deletions)
View changed files
📝
doc/upgrade.rst(+65 -0)📝
modoboa/core/commands/templates/settings.py.tpl(+9 -0)📝
modoboa/core/forms.py(+16 -1)📝
modoboa/core/middleware.py(+27 -0)➕
modoboa/core/migrations/0022_user_tfa_enabled.py(+18 -0)📝
modoboa/core/models.py(+3 -0)➕
modoboa/core/serializers.py(+22 -0)📝
modoboa/core/static/core/js/settings.js(+1 -1)➕
modoboa/core/templates/core/user_security.html(+103 -0)📝
modoboa/core/templatetags/core_tags.py(+4 -0)📝
modoboa/core/tests/test_authentication.py(+22 -0)➕
modoboa/core/tests/test_viewsets.py(+74 -0)📝
modoboa/core/urls.py(+4 -0)➕
modoboa/core/urls_api.py(+11 -0)📝
modoboa/core/views/__init__.py(+5 -2)📝
modoboa/core/views/auth.py(+19 -1)📝
modoboa/core/views/user.py(+36 -1)➕
modoboa/core/viewsets.py(+72 -0)📝
modoboa/static/js/global.js(+20 -15)📝
modoboa/static/js/twocols_nav.js(+66 -0)...and 4 more files
📄 Description
Adds support for 2FA authentication using TOTP devices.
see #1760 #1672 #1455
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.