X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/122f148a7c94368973e13f0d868f3e520a544d01..0eafaa3ce7287b5ba7a95f3b6d528dffd9648a1d:/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), })