mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
[feat] use fix random password otherwise user regenerates one
This commit is contained in:
@@ -154,7 +154,7 @@ int Render::LocalWindow() {
|
||||
ImGui::InputTextWithHint(
|
||||
"##server_pwd",
|
||||
localization::max_password_len[localization_language_index_].c_str(),
|
||||
(char *)random_password_.c_str(), random_password_.length() + 1,
|
||||
(char *)password_saved_.c_str(), password_saved_.length() + 1,
|
||||
show_password_ ? ImGuiInputTextFlags_CharsNoBlank
|
||||
: ImGuiInputTextFlags_CharsNoBlank |
|
||||
ImGuiInputTextFlags_Password);
|
||||
|
||||
Reference in New Issue
Block a user