X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/122f148a7c94368973e13f0d868f3e520a544d01..3a5b7046f78122c77861a2cfce46fa3b5e248f8f:/src/emails/views.py?ds=sidebyside 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), })