oauth2 login disabled if registration is disabled #2768
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
Milestone
Gitea version (or commit ref):
Git version: 1.1.0+655-ga257f88a built with: bindata, sqlite
Operating system: macOS
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Description
when i disable registration in config i am not able to login via oauth providers unless the user registerd before.
it should be possible to disable manual registration and only allow oauth2 providers to login/register
also it should be possible to limit e.g. google oauth logins to specific domains only
The text was updated successfully, but these errors were encountered: