You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by cc...@apache.org on 2026/05/11 20:10:49 UTC
(allura) 01/02: [#8604] Add the display_name_encrypted field to the User class
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch cc/11102-part1a
in repository https://gitbox.apache.org/repos/asf/allura.git
commit a187db0f36d4988366992743b44ed77d4b90d045
Author: Carlos Cruz <ca...@slashdotmedia.com>
AuthorDate: Fri Apr 24 11:21:54 2026 -0600
[#8604] Add the display_name_encrypted field to the User class
---
Allura/allura/model/auth.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index 0b331ed3a..b1bfda837 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -293,6 +293,7 @@ class __mongometa__:
# Additional top-level fields can/should be accessed with get/set_pref also
# Not sure why we didn't put them within the 'preferences' dictionary :(
display_name: str = FieldPropertyDisplayName(str)
+ display_name_encrypted = FieldProperty(S.Binary, if_missing=None)
# Personal data
sex = FieldProperty(
S.OneOf('Male', 'Female', 'Other', 'Unknown',