Woocommerce WordPress

Woocommerce: Deshabilitar contraseña fuerte

Ajustar la fortaleza de la contraseña en WooCommerce

En el entorno digital la seguridad es fundamental, tal y como demuestran las frecuentes noticias en las que se anuncian que han sido expuestos datos personales de millones de personas.

Y aunque esos casos tan sonados se deben a vulnerabilidades de los sistemas, la seguridad ha de empezar siempre por el usuario, pues a fin de cuentas son sus propios datos personales los que saldrían a la luz en caso de incidencia.

Hay muchos reportes anuales que detallan cuáles son las contraseñas más usadas, y los primeros puestos siempre están copados por contraseñas del tipo: 1234, 1980, contraseña

Estas contraseñas tan débiles, han forzado a los programadores a exigir las llamadas “contraseñas fuertes“, caracterizadas porque el usuario se acuerde de nuestras familias al pedirle contraseñas tan complejas que no sean capaces de recordar a posteriori (Mayúsculas + minúsculas + números + símbolos + min. 8 caracteres)… El resultado de ello suelen ser dos caminos:

  1. O bien se cansa y deja el formulario sin rellenar (cosa similar pasa en muchas ocasiones con los Captcha)
  2. O bien se apunta la contraseña en un papelito que deja junto a la pantalla. Es decir, peor incluso que poner una contraseña débil.

Así que, como de costumbre, la virtud está en el punto medio: Ni contraseñas tan sencillas que un ataque de fuerza bruta con diccionarios la vulnere en apenas unos minutos, ni tan complejas que hagan que pierdas usuarios.

En esta miniguía vamos a explicarte como rebajar la exigencia de WooCommerce de usar contraseñas fuertes. Pasa, disfruta, aprende y comparte.


¿Tienes prisa?
Si añadimos el siguiente código al functions.php de nuestro tema activo:

add_action ('wp_print_scripts', function () {
	if (wp_script_is ('wc-password-strength-meter', 'enqueued'))
		wp_dequeue_script ('wc-password-strength-meter');
}, 100);

Conseguiremos deshabilitar el script que comprueba la fortaleza durante el registro. De esa manera, tus usuarios podrán registrarse con la contraseña que deseen, incluso si es muy débil.

Lógicamente este es un mecanismo muy eficaz pero demasiado extremo, así que te recomendamos usar un plugin como el que citamos a continuación.

 

Cambiar el nivel de fortaleza

Existe un plugin llamado WooCommerce Password Strength Settings, que nos permite ajustar la fortaleza en base a 5 niveles:

  1. Cualquier contraseña es válida
  2. La más débil
  3. Débil
  4. Media
  5. Fuerte

Siendo el nivel 1, el equivalente a poner el código que citamos en el “Tienes Prisa“, y el nivel 5, el que trae por defecto WooCommerce.

Para usarlo únicamente tenemos que instalarlo desde el repositorio, activarlo e ir a
WooCommerce > Ajustes > Cuentas > User Password Strength Settings

Con eso conseguiremos el estadio intermedio: Tener seguridad, pero tampoco algo tan molesto por exigente.

 

¿Te ha parecido interesante esta entrada? ¿Hemos conseguido resolver tus dudas? Ayuda a tus amigos como nosotros te hemos ayudado a ti ¡Compartelo!

Cristian Sarabia Martínez

Desde que a principios de los 90 mi padre desempolvó su Spectrum, no he dejado de probar y experimentar con la tecnología.

Enamorado del mundo web, Full Stack Developer de profesión y diseñador por devoción.

Ahora hago mis pinitos en esto del blogging para compartir con vosotros un poquito de todo lo que la comunidad me ha dado.

1 Comentario

Haz clic aquí para dejar tu comentario

Flickr

  • Anja
  • Reader
  • très près
  • brève
  • dans un filet
  • Catriona
  • bad weather
  • gun  & shadow
  • Bidule

About Author

ThemeForest

Collaboratively harness market-driven processes whereas resource-leveling internal or "organic" sources. Competently formulate.

Calendar

septiembre 2025
L M X J V S D
1234567
891011121314
15161718192021
22232425262728
2930  

RSS Meks Blog

  • How Adding Slack Bot Boosted Our Culture of Appreciation 3 julio, 2024
    Sweet Kudos is a Slack bot that enhances employee recognition, rewards, and celebrations within your team. It empowers team members to express gratitude and appreciation effortlessly by giving virtual Kudos. The post How Adding Slack Bot Boosted Our Culture of Appreciation appeared first on Meks.
    Dusan Milovanovic
  • 10 Best Knowledge Base & Wiki WordPress Themes 2021 15 septiembre, 2021
    Running a successful online business requires an exceptional WordPress knowledge base theme that organizes documentation and helps customers. Customization options, intuitive navigation, unique layouts, and fast responsiveness are just some of the features you need. The following 10 WordPress wiki themes represent the best options for 2021 and beyond. Explore the full range to determine […]
    Dusan Milovanovic
  • How to increase WordPress Memory Limit (quick fixes) 16 junio, 2021
    Here is a post about how to increase the memory limit in WordPress. Allowed memory size exhausted error message showed up in your WordPress installation? No worries – this is one of the most common errors in WordPress. You can apply an easy fix by increasing the memory limit in your PHP. Table of Contents […]
    Dusan Milovanovic
  • How to use (and why) WordPress sitemap plugin 1 marzo, 2021
    Did you know that by knowing how to use the WordPress sitemap plugin you can significantly improve your site’s visibility and traffic? Although it isn’t mandatory to have a sitemap on your site, having one significantly improves the site’s quality, crawlability and indexing. All this is important for better optimization, which is why we wanted […]
    Ivana Cirkovic
  • 22 free and premium podcast software for your show [2021 edition] 18 enero, 2021
    You’re determined to start or improve your podcast but don’t know which podcast software to use to really make it stand out? We’ve got you! #podcasting Top 22 free and premium podcast software for your show #WordPressTips #podcasting The post 22 free and premium podcast software for your show [2021 edition] appeared first on Meks.
    Ivana Cirkovic
  • Digital storytelling with WordPress – an all-in-one guide to make your web stories pop! 23 noviembre, 2020
    Wondering how to improve digital storytelling with WordPress and build more awareness and exposure of your business? Let our guide lead the way. The post Digital storytelling with WordPress – an all-in-one guide to make your web stories pop! appeared first on Meks.
    Ivana Cirkovic
  • How to use WordPress autoposting plugin to improve your visibility and SEO? 10 septiembre, 2020
    Did you know you can use the WordPress autoposting plugin for your content efforts and improve not only your time management but your business and visibility as well? The post How to use WordPress autoposting plugin to improve your visibility and SEO? appeared first on Meks.
    Ivana Cirkovic
  • How to create a personal branding site? Step-by-step DIY guide 15 agosto, 2020
    Looking for ways and means to create a personal branding site? Well, look no further ’cause we’re giving away all the how-to’s to do it yourselves! The post How to create a personal branding site? Step-by-step DIY guide appeared first on Meks.
    Ivana Cirkovic
  • Top 15 WordPress content plugins and tools to improve your visibility and rankings 16 julio, 2020
    Let’s take a look at some of the must-have WordPress content plugins and tools to use to improve both your UX and rankings. The post Top 15 WordPress content plugins and tools to improve your visibility and rankings appeared first on Meks.
    Ivana Cirkovic
  • WCEU 2020 recap – key takeaways from the biggest online WordPress conference 9 junio, 2020
    Missed WCEU 2020 and all the exciting stuff from there? Here are all the key takeaways and main points to remember so, take notes! The post WCEU 2020 recap – key takeaways from the biggest online WordPress conference appeared first on Meks.
    Ivana Cirkovic

Text

Distinctively utilize long-term high-impact total linkage whereas high-payoff experiences. Appropriately communicate 24/365.

Archives