add GSSAPI: prefix to warning message

This commit is contained in:
Benjamin Dauvergne 2022-01-13 00:06:27 +01:00
parent 5ed0b40379
commit 93b4b5410e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ logger = logging.getLogger('django_gssapi')
class GSSAPIBackend(object):
def authenticate(self, request, gssapi_name):
warnings.warn('example backend do not use in production!')
warnings.warn('GSSAPI: example backend do not use in production!')
# pylint: disable=invalid-name
User = get_user_model()
try: