• Stephan Renatus's avatar
    password connectors: allow overriding the username attribute (password prompt) · b09a1345
    Stephan Renatus authored
    This allows users of the LDAP connector to give users of Dex' login
    prompt an idea of what they should enter for a username.
    
    Before, irregardless of how the LDAP connector was set up, the prompt
    was
    
        Username
        [_________________]
    
        Password
        [_________________]
    
    Now, this is configurable, and can be used to say "MyCorp SSO Login" if
    that's what it is.
    
    If it's not configured, it will default to "Username".
    
    For the passwordDB connector (local users), it is set to "Email
    Address", since this is what it uses.
    Signed-off-by: 's avatarStephan Renatus <srenatus@chef.io>
    b09a1345
server_test.go 33 KB