MyBB Tutorials

MD5 encrypt secret pin

Submitted by linkzy, , Thread ID: 12888

Thread Closed
18-11-2015, 01:49 PM
#1
- Open /admin/index.php find


PHP Code:
if(!empty($config['secret_pin']) && (empty($mybb->input['pin']) || $mybb->input['pin'] != $config['secret_pin'])) 
replace it with


PHP Code:
if(!empty($config['secret_pin']) && (empty($mybb->input['pin']) || md5($mybb->input['pin']) != $config['secret_pin'])) 
- Open /inc/config.php find

PHP Code:
$config['secret_pin'] = 'secret pin'
- replace secret pin with md5 encrypt secret pin
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |



Users browsing this thread: 4 Guest(s)