mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 15:11:12 +08:00
fix: linting
This commit is contained in:
@@ -64,7 +64,7 @@ export async function findOrCreateSSOUser(
|
||||
if (!user) {
|
||||
if (!integration.allowRegistration) {
|
||||
// Registration is disabled, so we can't create the user user here.
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
// FIXME: (wyattjoh) implement rules! Not all users should be able to create an account via this method.
|
||||
|
||||
Reference in New Issue
Block a user