mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Enable "Windows authentication" checkbox for MySQL and MariaDB, and send current Windows username if checked. Closes #991
This commit is contained in:
@ -1343,7 +1343,7 @@ begin
|
||||
end;
|
||||
editHost.RightButton.Visible := Params.IsAnySQLite;
|
||||
chkLoginPrompt.Enabled := Params.NetTypeGroup in [ngMySQL, ngMSSQL, ngPgSQL];
|
||||
chkWindowsAuth.Enabled := Params.IsAnyMSSQL;
|
||||
chkWindowsAuth.Enabled := Params.IsAnyMSSQL or Params.IsAnyMySQL;
|
||||
lblUsername.Enabled := (Params.NetTypeGroup in [ngMySQL, ngMSSQL, ngPgSQL])
|
||||
and ((not chkLoginPrompt.Checked) or (not chkLoginPrompt.Enabled))
|
||||
and ((not chkWindowsAuth.Checked) or (not chkWindowsAuth.Enabled));
|
||||
|
Reference in New Issue
Block a user