jazzband / django-two-factor-auth

Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
MIT License
1.71k stars 448 forks source link

Fixed #512 -- django.utils.baseconv module is deprecated #520

Closed jaap3 closed 2 years ago

jaap3 commented 2 years ago

Replace usage of django.utils.baseconv.base62 with django.core.signing.b62_decode/b62_encode if available.

codecov[bot] commented 2 years ago

Codecov Report

Merging #520 (f626f52) into master (a2125df) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #520   +/-   ##
=======================================
  Coverage   98.22%   98.23%           
=======================================
  Files          60       60           
  Lines        2653     2658    +5     
  Branches      278      278           
=======================================
+ Hits         2606     2611    +5     
  Misses         28       28           
  Partials       19       19           
Impacted Files Coverage Δ
two_factor/views/utils.py 90.06% <100.00%> (+0.34%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.