Resolved - How to Change the Install Username

Post Reply
nootkan
Sr. Bludit
Posts: 43
Joined: Tue Feb 14, 2017 4:59 pm

Just curious how I would change the username from admin which is a security risk to something to a little harder to guess? I tried to change it inside bl-content/databases/users.php but that didn't seem to work. Is this possible?
Last edited by nootkan on Sat Apr 22, 2017 10:42 pm, edited 1 time in total.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You can change the entry in the file users.php. Exchange "admin" with the name of your choice:

Code: Select all

<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
{
    "admin": {
        "firstName": "Edi",
        ...
    }
}
If there are already posts connected to "admin" you have to change the entries in posts.php.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
nootkan
Sr. Bludit
Posts: 43
Joined: Tue Feb 14, 2017 4:59 pm

Hmmm...the only one I didn't change. LOL Thanks for the info, much appreciated. ;)
Post Reply