Skip to content

Commit

Permalink
Se cambio una linea en la validacion de registro
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustoCCR committed Sep 27, 2021
1 parent ddfa9f9 commit 2819e62
Show file tree
Hide file tree
Showing 3 changed files with 733 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controlador/ControlRegistrar_Usuario.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ private void registrarUsuario() {

} else {
JOptionPane.showMessageDialog(vista, "Nombre de usuario no disponible", "Advertencia", JOptionPane.ERROR_MESSAGE);
vista.getTxt_cedula().grabFocus();
vista.getTxt_user().grabFocus();
}

} else {
JOptionPane.showMessageDialog(vista, "No conciden las contraseñas", "Mensaje", JOptionPane.ERROR_MESSAGE);
}

} else {
JOptionPane.showMessageDialog(vista, "Cedula no identificada", "Mensaje", JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(vista, "Cédula no identificada", "Mensaje", JOptionPane.ERROR_MESSAGE);
}

} else {
Expand Down
Loading

0 comments on commit 2819e62

Please sign in to comment.