Skip to content

Commit

Permalink
feat: warns against using username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Oct 31, 2023
1 parent c75b5a5 commit cae8f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ func parseArgs() args {
}

if args.Username != "" || args.Password != "" {
log.Warn("Using --username and --password is being deprecated and removed in v6.x. Use --auth-provider instead. See https://dozzle.dev/guide/authentication#file-based-user-management for more information.")
if args.Username == "" || args.Password == "" {
log.Fatalf("Username AND password are required for authentication")
}
Expand Down

0 comments on commit cae8f27

Please sign in to comment.