path: root/lib/VNDB/Util/
diff options
authorYorhel <>2019-10-08 18:16:46 +0200
committerYorhel <>2019-10-10 16:40:30 +0200
commitb3a9130763879d60c0e413c724a759860bd396af (patch)
tree2de6f9d21d4ce9f00fc11595906570be43d8ae5c /lib/VNDB/Util/
parent4c1dfc8bb62171c4c21057c47f238c8747bac3f8 (diff)
rewards: Apply supporters badge and unicode name (almost) everywhere
Only place where this isn't applied (yet?): Sorting user lists still goes by the old username and board names don't use the new unicode names. I have to say, I quite like the sql_user() and user_() pattern. It's not without problems when applied to everything, but it's good enough for several use cases.
Diffstat (limited to 'lib/VNDB/Util/')
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Util/ b/lib/VNDB/Util/
index 91453edf..4394149f 100644
--- a/lib/VNDB/Util/
+++ b/lib/VNDB/Util/
@@ -63,9 +63,9 @@ sub authAdminSetPass {
sub authInfo {
- # Used to return a lot more, but this was by far the most common use
+ # Used to return a lot more, but only the id is still used now.
# (code using other fields has been migrated)
- +{ id => auth->uid, username => auth->username }
+ +{ id => auth->uid }