Post by craigash » Thu May 24, 2018 8:44 pm

Hi All,
I have modified OC to better validate passwords when a customer signs up.
I have updated
account/register
account/reset
account/password
checkout/register
Is there anywhere else I need to update that a password can be changed?

Many Thanks
Craig.

;D OC Version 3.0.2.0 ;D


User avatar
Newbie

Posts

Joined
Wed Sep 14, 2011 9:48 pm

Post by tingwing » Thu May 24, 2018 8:58 pm

I donot understand why you need to do so

my extension:https://www.opencart.com/index.php?rout ... estshop24h
email :support@bestshop24h.com
site:http://www.bestshop24h.com


Active Member

Posts

Joined
Tue Aug 02, 2016 9:01 pm

Post by craigash » Thu May 24, 2018 9:03 pm

At the moment OC the only validation it does is to check to see if the passwords are longer than 4 characters and less than 40. With the new GDPR passwords need to be stronger and not only on the admin/config side. By also making the customers more secure also secures the whole site.

;D OC Version 3.0.2.0 ;D


User avatar
Newbie

Posts

Joined
Wed Sep 14, 2011 9:48 pm

Post by yodapt » Thu May 24, 2018 11:12 pm

check affiliate folder too

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by paulfeakins » Fri May 25, 2018 4:50 pm

craigash wrote:
Thu May 24, 2018 9:03 pm
At the moment OC the only validation it does is to check to see if the passwords are longer than 4 characters and less than 40. With the new GDPR passwords need to be stronger and not only on the admin/config side. By also making the customers more secure also secures the whole site.
"grepping" the source code is your friend:

Code: Select all

paul@ant$ grep -ril 'type="password"'
admin/view/template/common/reset.twig
admin/view/template/common/login.twig
admin/view/template/common/profile.twig
admin/view/template/user/user_form.twig
admin/view/template/customer/customer_form.twig
admin/view/template/marketplace/marketplace_info.twig
admin/view/template/extension/payment/realex_remote.twig
admin/view/template/extension/payment/pilibaba.twig
admin/view/template/extension/payment/realex.twig
admin/view/template/extension/payment/firstdata_remote.twig
admin/view/template/extension/payment/globalpay_remote.twig
admin/view/template/extension/payment/firstdata.twig
admin/view/template/extension/payment/globalpay.twig
admin/view/template/extension/payment/eway.twig
admin/view/stylesheet/sass/bootstrap/_forms.scss
catalog/view/theme/default/template/account/password.twig
catalog/view/theme/default/template/account/register.twig
catalog/view/theme/default/template/account/reset.twig
catalog/view/theme/default/template/account/login.twig
catalog/view/theme/default/template/affiliate/register.twig
catalog/view/theme/default/template/affiliate/login.twig
catalog/view/theme/default/template/checkout/register.twig
catalog/view/theme/default/template/checkout/login.twig
catalog/view/theme/default/stylesheet/stylesheet.css
install/view/template/install/step_3.twig

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Bing [Bot], sidclel and 89 guests