data-govt-nz / ckanext-security

A CKAN extension to hold various security improvements for CKAN
GNU Affero General Public License v3.0
25 stars 31 forks source link

Add Two Factor authentication #28

Closed markstuart closed 4 years ago

markstuart commented 4 years ago

This PR encompasses the changes required to enforce 2fa for all users. It allows for users to reset their 2fa secret while logged in, and this same mechanism allows admins to reset the 2fa secret for a non-admin user (for example, if the user was to lose access to their Authenticator app).

Major changes:

Screenshot from 2020-02-28 10-10-54

Screenshot from 2020-02-28 10-12-33