Hi !Friendica Admins !Friendica Support
Can anyone explain to me why this is happening with my instance? niwego.com They are bots? or what
Also why my email is public?
Hi !Friendica Admins !Friendica Support
Can anyone explain to me why this is happening with my instance? niwego.com They are bots? or what
Also why my email is public?
Marcus
in reply to Anomaly • • •They could seem to be bots, yes. Not sure what's going on there.
Regarding your e-mail, if you mean what's displayed under your display name (Lunya), that's the nickname you typed in when creating your account. The nickname is your "address" on Friendica, and they have the same form as e-mails do, ie. [email protected]
Anomaly
in reply to Marcus • •@Marcus
I got the answer , They are not bots, but it is their instance that by writing some variables in the message, allows this
niwego.com/display/de2ee63c-73…
Regarding for my email I don't mean the one under my nickname
in the first photo where there is the code there is the email, that of the friendica administrator
I don't know if this was a configuration error or what
jb, wf.jbc.lol edition
2025-11-25 11:10:32
Anomaly likes this.
Marcus
in reply to Anomaly • • •Ah, right! That's quite interesting and not something I was aware of. I originally though that maybe it was pulling the e-mail field that's also shown here at the bottom:
joinfriendica.de/friendica
...but it seems to actually extract the e-mail addresses of whoever has been added as admins on the Moderation -> Users page.
...and I don't see an option to disable it, besides setting a fake address and then not receiving the notification e-mails anymore.
That doesn't seem ideal to me. At least it should be shown that this data is exposed.
Anomaly
in reply to Marcus • •@Marcus
If you are referring to Impressum, I had another email there that was not the administrator's oneYes, it doesn't make much sense to enter a fake email, then I no longer receive notificationsRight, I didn't know that either. I hope there is a solution to fix this.Marcus
in reply to Anomaly • • •I did a bit of digging, and tried changing e-mail in account settings and noticed the e-mail address at that API endpoint wasn't being updated. It turns out that it's instead pulled from config/local.config.php (or possibly the database in the `config` table) where there's an entry called `admin_email`. Then I thought I could probably just change the e-mail addresses in that file, but when your e-mail no longer matches or lists your account, you lose admin privileges when that file is saved.
A workaround could be to set a fake e-mail account in your profile, then updating local.config.php with that fake e-mail address, save it, and then change your e-mail address back to the right one in the profile settings. But then of course if local.config.php is re-saved later (or if it's reloaded if PHP is restarted or something) then you'd lose admin privileges again.
The list shown in the API is created by the function getAdminEmailList, so one can also modify that function to fx. return an empty list. But since it's in the API data maybe it's used for something else, like when
... Show more...I did a bit of digging, and tried changing e-mail in account settings and noticed the e-mail address at that API endpoint wasn't being updated. It turns out that it's instead pulled from config/local.config.php (or possibly the database in the `config` table) where there's an entry called `admin_email`. Then I thought I could probably just change the e-mail addresses in that file, but when your e-mail no longer matches or lists your account, you lose admin privileges when that file is saved.
A workaround could be to set a fake e-mail account in your profile, then updating local.config.php with that fake e-mail address, save it, and then change your e-mail address back to the right one in the profile settings. But then of course if local.config.php is re-saved later (or if it's reloaded if PHP is restarted or something) then you'd lose admin privileges again.
The list shown in the API is created by the function getAdminEmailList, so one can also modify that function to fx. return an empty list. But since it's in the API data maybe it's used for something else, like when another instance wants to report an account on your instance or something like that?
Maybe we should make an issue for it.
Marcus
in reply to Marcus • • •It turns out that workaround doesn't actually work, because once you change your e-mail in your profile settings you lose admin privileges as well. I'm thinking that maybe it doesn't actually store admin status anywhere but in that list, so once it doesn't match your e-mail address you're no longer admin.
The workaround of changing the code still works, of course, but it's not really ideal to have to do that.
Marcus
in reply to Marcus • • •Anomaly
in reply to Marcus • •@Marcus
When I discovered this thing , I tried changing the administrator email address in the Admin section, and found that the email must be the same as the one in the file
config/local.config.phpMaybe it can be as you say.
If I want to search for an instance via API like that guy did, how can I do that?
reshared this
Friendica Admins and Friendica Support reshared this.
Marcus
in reply to Anomaly • • •friendica.world/api/v1/instanc…
Anomaly likes this.
reshared this
Friendica Support reshared this.
Anomaly
in reply to Marcus • •Thanks
reshared this
Friendica Admins and Friendica Support reshared this.
Daniel de Kay
in reply to Marcus • • •Anomaly likes this.
reshared this
Friendica Support reshared this.
Marcus
in reply to Anomaly • • •github.com/friendica/friendica…
Anomaly likes this.
reshared this
Friendica Support reshared this.