aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hashserv/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashserv/server.py')
-rw-r--r--lib/hashserv/server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hashserv/server.py b/lib/hashserv/server.py
index 439962f78..a86507830 100644
--- a/lib/hashserv/server.py
+++ b/lib/hashserv/server.py
@@ -475,6 +475,9 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection):
if k in data:
outhash_data[k] = data[k]
+ if self.user:
+ outhash_data["owner"] = self.user.username
+
# Insert the new entry, unless it already exists
if await self.db.insert_outhash(outhash_data):
# If this row is new, check if it is equivalent to another