Skip to main content


How to make a user admin from console


Hi @Friendica Support

I created a new instance, but for what ever reason the first registered user has no admin rights. How can I set admin rights to a user via console?
Thanks!

Friendica Support reshared this.

in reply to Marek Bachmann

@Marek Bachmann :friendica: You need to add their account email address to the system.admin_email configuration key in the config/local.config.php file.

Friendica Support reshared this.

in reply to Marek Bachmann

Thank you. I had to change config.admin_email, but that worked. But I previously thought that it would determine the email address to get in contact with the admin rather to identify his account :-)

Friendica Support reshared this.

in reply to Marek Bachmann

@Marek Bachmann :friendica: Most configuration key purpose is explained in static/defaults.config.php for the file-based configuration, and in static/settings.config.php for database-based configuration.

Friendica Support reshared this.