blob: e588d71e30162a5843fdab0d9c0e0b6703f3eb59 [file] [log] [blame]
#!/usr/bin/env python
import os
def uid():
"""Sample user gateway function. Returns the basic auth username as UID"""
return os.environ['REMOTE_USER'] if 'REMOTE_USER' in os.environ else None