Increase or Decrease Minimum Length of Oxwall Password

Increase or Decrease Minimum Length of Oxwall Password

The minimum length of password a user can use on your Oxwall site is by default 4 characters and maximum is 128 characters. This value can either be increased (Recommended) or decreased (Not Recommended) by modifying Oxwall core file.

I’m aware that for some people, playing around with codes isn’t quite a fun thing to do but be rest assured that this tutorial will be pretty easy and less boring.

From your cPanel, FTP Client or whatever thing you use to access your web server,  download and edit ow_utilitiesvalidator.php

In line 32, change const PASSWORD_MIN_LENGTH = 4; to const PASSWORD_MIN_LENGTH = 6; assuming you want to set the minimum password to 6. When you are done, simply save your changes and re-upload the file to your server.

As with the tradition of every custom mod done to the Oxwall core files, you need to clear your cache for your changes to go live.

Remember, custom mod is at your own risk. To remain on the safer side; we recommend you backup your files before modifying them.

The following two tabs change content below.

Ebenezer Obasi

Senior executive editor at EwtNet
A web developer, IT undergrad, terrible entrepreneur, internet freak and a man of a few other incongruous talents, Ebenezer has been writing on technology since 2012, and plans to do so until a few days before his ultimate fate: cryogenic preservation. If resurrected, he is likely to go back to writing on technology.

Recieve Free Email Updates!

Leave a Reply