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!
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.
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
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
to this
And should work
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)) {
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)) {
Last edited by xxvirusxx on Thu Jan 23, 2020 7:27 am, edited 4 times in total.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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.xxvirusxx wrote: ↑Thu Jan 23, 2020 7:15 amcatalog/controller/account/register.php
Change this lineto thisCode: 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)) {
And should workCode: 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)) {
Thanks!
Refresh ocmod, then from Dashboard, gears from right top (under Logout), clear Theme cache, Sass cache.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
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
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
Who is online
Users browsing this forum: paulfeakins and 62 guests