aboutsummaryrefslogtreecommitdiff
path: root/src/django_pgpmailman/views/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/django_pgpmailman/views/user.py')
-rw-r--r--src/django_pgpmailman/views/user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/django_pgpmailman/views/user.py b/src/django_pgpmailman/views/user.py
index efc694d..ecc1b9e 100644
--- a/src/django_pgpmailman/views/user.py
+++ b/src/django_pgpmailman/views/user.py
@@ -15,8 +15,10 @@
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
+from django.contrib.auth.decorators import login_required
from django.shortcuts import render
+@login_required
def pgp_user_profile(request):
return render(request, 'django_pgpmailman/user/summary.html')