mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-14 11:06:15 +05:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
ddde6a7bcb
commit
b8812dd7f2
@ -166,7 +166,10 @@ const { handler, api } = betterAuth({
|
||||
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", {
|
||||
message: "Email does not match invitation",
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user