mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-10-29 19:57:28 +00:00
RoomCreationDialog: compare password directly
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
parent
956e1c6cda
commit
aa26c93be2
@ -211,7 +211,7 @@ public class RoomCreationDialog extends JPanel {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!ModelUtil.areEqual(password, confirmPassword)) {
|
||||
if (!password.equals(confirmPassword)) {
|
||||
showError(Res.getString("message.passwords.no.match"));
|
||||
passwordField.requestFocus();
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user