newbie - admin changes
- 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 standard user "admin" in the file /bl-content/databases/users.php. Use instead of "admin" another name:
Code: Select all
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
{
"admin": {
"firstName": "Edi",
...
}
}
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Hi,
for my side, I prefer create a new user with the role "admin", and disable the user "admin". All this from the Admin panel.
There are some part of Bludit Core that uses the admin even if this disabled.
Regards
Diego
for my side, I prefer create a new user with the role "admin", and disable the user "admin". All this from the Admin panel.
There are some part of Bludit Core that uses the admin even if this disabled.
Regards
Diego
Thanks for the replies.
@edi
I most often work at this level so thanks for pointing me to the relevant file.
@diego
Yes, I did see several - if $xxx =='admin' or !='admin' lines in various files so perhaps this is the safer route.
The next thought is - why not make 'admin' editable in the Managers>Users panel?
It all seems very accessible. Thanks again.
@edi
I most often work at this level so thanks for pointing me to the relevant file.
@diego
Yes, I did see several - if $xxx =='admin' or !='admin' lines in various files so perhaps this is the safer route.
The next thought is - why not make 'admin' editable in the Managers>Users panel?
It all seems very accessible. Thanks again.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
I think diegos solution is the better one. And he is the developer.
At the moment I'm not sure, if my suggestion works in all cases. But till now I had no problems with it.
At the moment I'm not sure, if my suggestion works in all cases. But till now I had no problems with it.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets