X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/9f1278d0ce293f3f61d8dedd95979c3029b57777..243cb773ed9d1c4c7b3fa1c4ba7fb79ef6dc5ec0:/forum/views/users.py diff --git a/forum/views/users.py b/forum/views/users.py index 3c1654c..d95b302 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -1,4 +1,3 @@ -from django.contrib.auth.decorators import login_required from forum.models import User from django.db.models import Q, Count from django.core.paginator import Paginator, EmptyPage, InvalidPage @@ -83,7 +82,6 @@ def online_users(request): }) -@login_required def edit_user(request, id): user = get_object_or_404(User, id=id) if not (request.user.is_superuser or request.user == user): @@ -403,13 +401,4 @@ def user_preferences(request, user): return {'view_user': user, 'form': form} -@login_required -def account_settings(request): - logging.debug('') - msg = request.GET.get('msg', '') - is_openid = False - return render_to_response('account_settings.html', { - 'msg': msg, - 'is_openid': is_openid - }, context_instance=RequestContext(request))