Proposal: Disable public registration for exogit #167
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 31 minutes 42 seconds
Due date
a
31 minutes 42 seconds
No due date set.
Dependencies
No dependencies set.
Reference: exozyme/exozyme#167
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since exogit already has some basic federation features, it might make sense to disable public registration to prevent spam. Our instance is somewhat well-known now from all my Gitea federation posts on Mastodon, so there have been a few non-exozyme users that signed up, even though this instance is mainly for exozyme users' repos only. Also, sometimes exozyme users accidentally create an account instead of logging in with their existing account, which messes up the database.
Alright, I disabled public registration and deleted the extra users since they didn't have any non-empty repos anyways.
I also made exogit hide email addresses by default, to prevent spam. I used a SQL query for that:
update "user" set "hide_email_address"=true;
and it felt like a https://xkcd.com/208/ moment except with regex replaced with SQL.