layerindex-web/layerindex
Amber Elliot 9a9bbeb8b6 Add user security questions
Add user security questions upon registration as extra authentication
for password reset. Three unique security questions must be chosen and
answered. Answers are then stored in the database with the same hashing
algorithm as the users's password.

On password reset, users get two chances to get two out of three
security questions answered correctly. After a second failure their
account is locked and email is sent to the admin. The same template is
shown for the axes lockout. Super user cannot reset their password until
they set security questions.

Users can update their security questions or add them if they weren't
originally set (in the case of super user) in Edit Profile.

Signed-off-by: Amber Elliot <amber.n.elliot@intel.com>
2019-07-17 11:30:56 +12:00
..
migrations Add user security questions 2019-07-17 11:30:56 +12:00
static Fix Submit/Edit layer form field rendering issue 2018-11-20 11:58:42 +13:00
templatetags Show update task output more smoothly 2018-09-20 16:04:49 +12:00
tools import_otherdistro: improve display of deleted items 2019-07-17 11:30:56 +12:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add user security questions 2019-07-17 11:30:56 +12:00
auth_forms.py Add user security questions 2019-07-17 11:30:56 +12:00
auth_views.py Add user security questions 2019-07-17 11:30:56 +12:00
bulkchange.py Use try...finally or with to ensure files get closed 2019-02-14 10:05:53 +13:00
context_processors.py Add ability to hide branches 2019-07-17 11:30:56 +12:00
forms.py Add user security questions 2019-07-17 11:30:56 +12:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Add user security questions 2019-07-17 11:30:56 +12:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Split out recipe dependency handling to its own function 2019-07-17 11:30:56 +12:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +13:00
securityquestions.py Add user security questions 2019-07-17 11:30:56 +12:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Properly show update task success/failure 2018-09-20 16:04:49 +12:00
update_layer.py Split out recipe dependency handling to its own function 2019-07-17 11:30:56 +12:00
update.py Replace use of assert with exceptions 2019-02-14 10:05:53 +13:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add an email test function 2018-10-01 17:04:44 +13:00
utils.py Replace use of assert with exceptions 2019-02-14 10:05:53 +13:00
views.py Add user security questions 2019-07-17 11:30:56 +12:00