django-auth-recovery-codes 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of django-auth-recovery-codes might be problematic. Click here for more details.
- django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleCodeGeneration.js +4 -3
- {django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/METADATA +3 -3
- {django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/RECORD +6 -6
- {django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/WHEEL +0 -0
- {django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/top_level.txt +0 -0
|
@@ -375,11 +375,12 @@ async function handleCanGenerateCodeSuccessUI(resp) {
|
|
|
375
375
|
const MILLI_SECONDS = 1000;
|
|
376
376
|
|
|
377
377
|
if (isPopulated) {
|
|
378
|
-
|
|
379
|
-
const
|
|
380
|
-
if (
|
|
378
|
+
|
|
379
|
+
const postResp = await sendPostFetchWithoutBody("/auth/recovery-codes/viewed/", "Failed to mark code as viewed ");
|
|
380
|
+
if (postResp && postResp.SUCCESS) {
|
|
381
381
|
markCurrentCardBatchAsViewed();
|
|
382
382
|
}
|
|
383
|
+
|
|
383
384
|
|
|
384
385
|
updateBatchHistorySection(recoveryBatchSectionElement, resp.BATCH, resp.ITEM_PER_PAGE);
|
|
385
386
|
|
{django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-auth-recovery-codes
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Django app for 2FA recovery codes
|
|
5
5
|
Home-page: https://github.com/EgbieAndersonUku1/django_2fa_recovery_codes
|
|
6
6
|
Author: Egbie Uku
|
|
@@ -2626,7 +2626,7 @@ DJANGO_AUTH_RECOVERY_CODES_DEFAULT_FORMAT = "txt"
|
|
|
2626
2626
|
# ===========================
|
|
2627
2627
|
|
|
2628
2628
|
DJANGO_AUTH_RECOVERY_CODES_SITE_NAME = "This is a demo tutorial page"
|
|
2629
|
-
DJANGO_AUTH_RECOVERY_CODE_REDIRECT_VIEW_AFTER_LOGOUT = "
|
|
2629
|
+
DJANGO_AUTH_RECOVERY_CODE_REDIRECT_VIEW_AFTER_LOGOUT = "logout_user" # redirect to a different page
|
|
2630
2630
|
|
|
2631
2631
|
# ===========================
|
|
2632
2632
|
# 💬 Recovery Code Email Success Message
|
|
@@ -2738,7 +2738,7 @@ Here are a few examples of how you can configure different flags in the applicat
|
|
|
2738
2738
|
|
|
2739
2739
|
```bash
|
|
2740
2740
|
DJANGO_AUTH_RECOVERY_CODE_MAX_VISIBLE = 20
|
|
2741
|
-
DJANGO_AUTH_RECOVERY_CODE_PER_PAGE =
|
|
2741
|
+
DJANGO_AUTH_RECOVERY_CODE_PER_PAGE = 5
|
|
2742
2742
|
````
|
|
2743
2743
|
|
|
2744
2744
|
* You can also customise the message displayed after a user emails themselves a copy of their recovery codes:
|
{django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/RECORD
RENAMED
|
@@ -52,7 +52,7 @@ django_auth_recovery_codes/static/django_recovery_codes/js/helpers/appMessages.j
|
|
|
52
52
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/formUtils.js,sha256=OMSLr9695wQCax5U4hey_ViQGxCq6LWejMvA-K6VyrM,1407
|
|
53
53
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleButtonAlertClicker.js,sha256=xB85xdvG4bDecD1xJNtR9fnIEWaJmQ6_lSBGQs1rcuk,6805
|
|
54
54
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleCodeDelete.js,sha256=miCv4S3ZlN4xA_mPzSuLHBWGB3lsuZi26fWxnPOs3K0,11700
|
|
55
|
-
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleCodeGeneration.js,sha256=
|
|
55
|
+
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleCodeGeneration.js,sha256=9y4nn4NNs8iKtmpZh-Lc199QxmrihosKL-Q3eIfVI70,24856
|
|
56
56
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleDownload.js,sha256=ZHnBjeCuGq6z30fwiNIN9FPkiCPR8Grt0MfH_06fmq8,10699
|
|
57
57
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleEmail.js,sha256=1TPrJd55J4CJYkiFEYPa9tgdGvDKmkWgF00N3WZeHs0,5984
|
|
58
58
|
django_auth_recovery_codes/static/django_recovery_codes/js/helpers/handleInvalidation.js,sha256=tkzfclOXKaM5Nui8QYeyGizq_LtXAmhqBlTqMdpOhuQ,6127
|
|
@@ -5798,8 +5798,8 @@ django_auth_recovery_codes/utils/exporters/file_converters.py,sha256=TVRcLr-2Vgh
|
|
|
5798
5798
|
django_auth_recovery_codes/utils/security/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5799
5799
|
django_auth_recovery_codes/utils/security/generator.py,sha256=9kT40YddxioylQuOMwbif-RCM-BFrYBBCmZ4tLaP4Fc,4993
|
|
5800
5800
|
django_auth_recovery_codes/utils/security/hash.py,sha256=EFYBdLsUgOHWbTe7MghGDrUxE7oafgDRY2IL4bjKn6Q,2680
|
|
5801
|
-
django_auth_recovery_codes-1.0.
|
|
5802
|
-
django_auth_recovery_codes-1.0.
|
|
5803
|
-
django_auth_recovery_codes-1.0.
|
|
5804
|
-
django_auth_recovery_codes-1.0.
|
|
5805
|
-
django_auth_recovery_codes-1.0.
|
|
5801
|
+
django_auth_recovery_codes-1.0.2.dist-info/licenses/LICENSE,sha256=BvizeN100YXjms404P-KX6Glx35wY3Ak_guK1SCQQuw,1085
|
|
5802
|
+
django_auth_recovery_codes-1.0.2.dist-info/METADATA,sha256=dRJVq1pupArA7OZ7F5rvVQUKOQp0B1a80O7tyI_FjpY,108347
|
|
5803
|
+
django_auth_recovery_codes-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5804
|
+
django_auth_recovery_codes-1.0.2.dist-info/top_level.txt,sha256=1a1TlG4RcYLPkmy5_Ver6LAuaq1ukelvyhft-KENVKA,27
|
|
5805
|
+
django_auth_recovery_codes-1.0.2.dist-info/RECORD,,
|
{django_auth_recovery_codes-1.0.1.dist-info → django_auth_recovery_codes-1.0.2.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|