Use base64.urlsafe_b64encode() instead of manual specification of chars
authorMagnus Hagander <magnus@hagander.net>
Wed, 4 Jun 2025 08:56:33 +0000 (10:56 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 11 Jun 2025 18:26:21 +0000 (20:26 +0200)
commite48157dac3fb6fd3e8984ac27333fe0380418907
tree736453520561cc47bea3e43786b4fa23f768c5cb
parentde76f82f62c0818f041c28a7a5f4ccdcb2e3a1ab
Use base64.urlsafe_b64encode() instead of manual specification of chars

This makes for better readability, and is exactly the same
functionality...

Pointed out by Jacob Champion
pgweb/account/views.py
tools/communityauth/sample/django/auth.py
tools/communityauth/test_auth.py