--- a/src/pyams_notify/handlers/login.py Mon Dec 11 15:26:58 2017 +0100
+++ b/src/pyams_notify/handlers/login.py Fri Jan 26 16:30:38 2018 +0100
@@ -40,12 +40,11 @@
if request is None:
return
translate = request.localizer.translate
- principal = get_principal(request, event.principal_id)
notification = Notification(request=request,
action='notify',
category='user.login',
source=event.principal_id,
- message=translate(_("User {0} logged in...")).format(principal.title))
+ message=translate(_("logged in...")))
notification.send()