## Bug
The password dialog did not accept a port parameter. Servers with non-22 ports silently connected on port 22.
## Fix
Added `port` parameter to `show_password_dialog()` and propagated it through the connect flow:
```cpp
// BEFORE:
void show_password_dialog(const std::string& host, const std::string& user, ...);
connect_to_server(host, 22, user, ...); // always port 22
// AFTER:
void show_password_dialog(const std::string& host, int port, const std::string& user, ...);
connect_to_server(host, port, user, ...); // correct port
```
**Status:** Fixed in commit 4a2b2ea
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug
The password dialog did not accept a port parameter. Servers with non-22 ports silently connected on port 22.
Fix
Added
portparameter toshow_password_dialog()and propagated it through the connect flow:Status: Fixed in commit
4a2b2ea