X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/122f148a7c94368973e13f0d868f3e520a544d01..03030c3704cee759f7111716874c6b8007a71329:/src/emails/views.py diff --git a/src/emails/views.py b/src/emails/views.py index 5c40218..dc89aaa 100644 --- a/src/emails/views.py +++ b/src/emails/views.py @@ -9,6 +9,7 @@ from . import BASE_DOMAINS def my_aliases(request, user=None): user = user or request.user return render(request, 'emails/my_aliases.html', { + 'user': user, 'base': ['{}@{}'.format(user.username, dom) for dom in BASE_DOMAINS], 'from_me': Alias.get_from_user(user), })