Skip to content

Commit b159f44

Browse files
committed
fix: add missing ldap search filter
1 parent 2d8af05 commit b159f44

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/tinyauth/tinyauth.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ func NewTinyauthCmdConfiguration() *config.Config {
3434
ForgotPasswordMessage: "You can change your password by changing the configuration.",
3535
BackgroundImage: "/background.jpg",
3636
},
37+
Ldap: config.LdapConfig{
38+
Insecure: false,
39+
SearchFilter: "(uid=%s)",
40+
},
3741
Experimental: config.ExperimentalConfig{
3842
ConfigFile: "",
3943
},

0 commit comments

Comments
 (0)