I'm coming from bloat, which has a setting to only allow users from a specific instance to log in. This PR adds a similar feature to SmolFedi.
It adds a new SINGLE_INSTANCE setting. When enabled, SmolFedi doesn't display an input field for the instance URL, instead only showing the DEFAULT_INSTANCE as text/information for the user.
I've also updated the POST request processing code accordingly, to make sure the setting can't be bypassed.
I'm coming from [bloat](https://git.freesoftwareextremist.com/bloat/about/), which has a setting to only allow users from a specific instance to log in. This PR adds a similar feature to SmolFedi.
It adds a new `SINGLE_INSTANCE` setting. When enabled, SmolFedi doesn't display an input field for the instance URL, instead only showing the `DEFAULT_INSTANCE` as text/information for the user.
I've also updated the POST request processing code accordingly, to make sure the setting can't be bypassed.