Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
disable account creation
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialCrafter committed Dec 13, 2023
1 parent 0a5cc1e commit 40e427c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/identity.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const handleSignin = async (cookies, data) => {
if (!user)
if (data.force) throw error(400, 'Bad Request');
else {
return; // @TODO disable account creation temporarily, remove this later
const identity = new Identity(data);

await identity.save();
Expand Down

0 comments on commit 40e427c

Please sign in to comment.