• John Karabudak's avatar
    added ability to set user name for federated auth · c00a6fa0
    John Karabudak authored
    
    
    this commit adds an optional environment variable named `WEBUI_AUTH_TRUSTED_NAME_HEADER`, which sets the user's name to the contents of that header. this only happens if the user is just being created, just like how the trusted e-mail header works.
    
    if the environment variable or header is not present, we fall back to the original behavior which is to re-use the user e-mail address.
    Co-Authored-By: default avatarNikita Borzykh <sample@fastmail.com>
    c00a6fa0
auths.py 11.9 KB