Revision 4af67649 invitations/invitations.py

b/invitations/invitations.py
164 164
    if not request.method == 'GET':
165 165
        method_not_allowed(request)
166 166

  
167
    key = request.GET['key']
167
    key = request.GET.get('key', None)
168 168

  
169 169
    if key is None:
170 170
        return render_login_error("10", "Required key is missing")

Also available in: Unified diff