from django.contrib.auth.decorators import login_required
from django.shortcuts import redirect
from django.contrib.auth import logout


# Create your views here.
@login_required
def logout_user(request):
    logout(request)
    return redirect('frontpage/index.html')
