[server] make InternalManager.name() return an empty string (closes #12418708)
authorDavid Douard <david.douard@logilab.fr>
Tue, 19 Apr 2016 13:57:12 +0200
changeset 11233 f24e83a82a4f
parent 11223 d4d36b583f40
child 11234 558e5a6d1ec3
[server] make InternalManager.name() return an empty string (closes #12418708) Otherwise the notification emails sent via an internal_session never honor the EMAIL.sender-name configuration option.
server/session.py
--- a/server/session.py	Mon Mar 21 18:08:47 2016 +0100
+++ b/server/session.py	Tue Apr 19 13:57:12 2016 +0200
@@ -1806,7 +1806,7 @@
     # CWUser compat for notification ###########################################
 
     def name(self):
-        return 'cubicweb'
+        return ''
 
     class _IEmailable:
         @staticmethod