Skip to content

payload.get('username').lower() => AttributeError: 'NoneType' object has no attribute 'lower' #77

@amotl

Description

@amotl

Just found this on prod

  File "/path/to/site-packages/cornice/service.py", line 493, in wrapper
    response = view_(request)
  File "/path/to/site-packages/patzilla/util/web/identity/service.py", line 56, in identity_auth_handler
    username = payload.get('username').lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions