Skip to content

Commit

Permalink
Fix BaseEmailNotification and add get_user_email and get_user_fullnam…
Browse files Browse the repository at this point in the history
…e methods. These are customized in other projects, where different fullname/email requirements are in place. (#664)
  • Loading branch information
thet committed Nov 16, 2023
1 parent d8998db commit f0b93af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/euphorie/client/browser/webhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1426,5 +1426,11 @@ def survey_tree_data(self):

return data

def get_user_email(self, account=None):
return account.email

def get_user_fullname(self, account=None):
return account.title

def __call__(self):
return self

0 comments on commit f0b93af

Please sign in to comment.