Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

md5 encrypt secret pin

$
0
0
- Open /admin/index.php find

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

replace it with

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

- Open /inc/config.php find

Code:
$config['secret_pin'] = 'secret pin';

- replace secret pin with md5 encrypt secret pin


sorry, my english is very bad

Viewing all articles
Browse latest Browse all 690

Trending Articles