diff --git a/pyweb/mumble/forms.py b/pyweb/mumble/forms.py index 2e27976..f53b1f0 100644 --- a/pyweb/mumble/forms.py +++ b/pyweb/mumble/forms.py @@ -224,6 +224,7 @@ class MumbleUserForm( ModelForm ): return True def EXT_validate( self, request ): + self.instance.owner = request.user if "serverid" in request.POST: try: self.server = Mumble.objects.get( id=int(request.POST['serverid']) )