diff --git a/apps/member/models.py b/apps/member/models.py index 016542b3..e1c829a4 100644 --- a/apps/member/models.py +++ b/apps/member/models.py @@ -137,7 +137,7 @@ class Profile(models.Model): 'user': self.user, 'domain': os.getenv("NOTE_URL", "note.example.com"), 'token': email_validation_token.make_token(self.user), - 'uid': urlsafe_base64_encode(force_bytes(self.user.pk)).decode('UTF-8'), + 'uid': urlsafe_base64_encode(force_bytes(self.user.pk)), }) self.user.email_user(subject, message) diff --git a/apps/scripts b/apps/scripts index 1090fe0b..f0aa4269 160000 --- a/apps/scripts +++ b/apps/scripts @@ -1 +1 @@ -Subproject commit 1090fe0b26928c0ee2205cfbebae0605dde3f370 +Subproject commit f0aa426950b9b867bf99233795e260871be2cb99 diff --git a/templates/base.html b/templates/base.html index 2a1519f4..646f27e9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -121,7 +121,7 @@ SPDX-License-Identifier: GPL-3.0-or-later {% if user.is_staff %}