memos
memos copied to clipboard
fix: when the system disables registration, users can still register and log in through SSO
Fix the issue about https://github.com/usememos/memos/issues/4720
- When the system restricts new user registrations, ensure users are unable to register or log in using SSO.
- Verify that existing users who registered via SSO can log in without issues.