Post by nobodyinteresting » Thu Jan 23, 2020 5:02 am

Hey all!

I am in need for some quick help. I have OC 3.0.3.2 and I need to have the default password length changed to 8 symbols minimum, for all customers that register an account, as well as future password changes.
I do need this done ASAP as well. Please quote me a price and approximate time frame on when this can be completed.

Thank you very much!
Last edited by nobodyinteresting on Thu Jan 23, 2020 11:45 am, edited 1 time in total.


Posts

Joined
Fri Nov 08, 2019 7:53 am

Post by thekrotek » Thu Jan 23, 2020 5:26 am

I can create a modification for you, but all quotes and discussions are not for this forum. Send me an email or message in Skype and we'll discuss everything.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by nobodyinteresting » Thu Jan 23, 2020 5:32 am

thekrotek wrote:
Thu Jan 23, 2020 5:26 am
I can create a modification for you, but all quotes and discussions are not for this forum. Send me an email or message in Skype and we'll discuss everything.
Emailed you,

Thanks!


Posts

Joined
Fri Nov 08, 2019 7:53 am

Post by xxvirusxx » Thu Jan 23, 2020 7:15 am

catalog/controller/account/register.php
catalog/controller/account/password.php
catalog/controller/account/reset.php
catalog/controller/checkout/register.php
catalog/controller/affiliate/register.php


Change this line

Code: Select all

if ((utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) < 4) || (utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) > 40)) {
to this

Code: Select all

if ((utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) < 8) || (utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) > 40)) {
And should work
Last edited by xxvirusxx on Thu Jan 23, 2020 7:27 am, edited 4 times in total.

My converted modules | Opencart 3.0.3.3 |Buy me a beer | Contact me on Skype


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - RO

Post by nobodyinteresting » Thu Jan 23, 2020 7:18 am

xxvirusxx wrote:
Thu Jan 23, 2020 7:15 am
catalog/controller/account/register.php

Change this line

Code: Select all

if ((utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) < 4) || (utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) > 40)) {
to this

Code: Select all

if ((utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) < 8) || (utf8_strlen(html_entity_decode($this->request->post['password'], ENT_QUOTES, 'UTF-8')) > 40)) {
And should work
So basically change the 4 to 8? I already did that, unfortunately it would still let me register with a password like 12345 (which is obviously shorter than 8 ). Unless there is a cache somewhere that needs to be deleted.

Thanks!


Posts

Joined
Fri Nov 08, 2019 7:53 am

Post by xxvirusxx » Thu Jan 23, 2020 7:22 am

Refresh ocmod, then from Dashboard, gears from right top (under Logout), clear Theme cache, Sass cache.

My converted modules | Opencart 3.0.3.3 |Buy me a beer | Contact me on Skype


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - RO

Post by nobodyinteresting » Thu Jan 23, 2020 7:57 am

xxvirusxx wrote:
Thu Jan 23, 2020 7:22 am
Refresh ocmod, then from Dashboard, gears from right top (under Logout), clear Theme cache, Sass cache.
You, sir, are a rockstar and a life saver! :-) That worked, completely forgot to clear cache.

Thank you so very much!


Posts

Joined
Fri Nov 08, 2019 7:53 am

Post by frank 123 » Thu Jan 23, 2020 11:44 am

Hi nobodyinteresting

I am interested in your requirement and will be glad to assist you as an opencart expert

please reach me out my details are in signature

Regards
Frank
Skype cis.am3
Frank@cisinlabs.com


New member

Posts

Joined
Fri Aug 02, 2019 4:27 pm

Post by nobodyinteresting » Thu Jan 23, 2020 11:45 am

frank 123 wrote:
Thu Jan 23, 2020 11:44 am
Hi nobodyinteresting

I am interested in your requirement and will be glad to assist you as an opencart expert

please reach me out my details are in signature
Thank you, got it figured out already though.


Posts

Joined
Fri Nov 08, 2019 7:53 am
Who is online

Users browsing this forum: No registered users and 6 guests