mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -166,7 +166,10 @@ const { handler, api } = betterAuth({
|
|||||||
message: "Invitation has already been used",
|
message: "Invitation has already been used",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (_user.email.toLowerCase().trim() !== invitation.email.toLowerCase().trim()) {
|
if (
|
||||||
|
_user.email.toLowerCase().trim() !==
|
||||||
|
invitation.email.toLowerCase().trim()
|
||||||
|
) {
|
||||||
throw new APIError("BAD_REQUEST", {
|
throw new APIError("BAD_REQUEST", {
|
||||||
message: "Email does not match invitation",
|
message: "Email does not match invitation",
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user