This should be fine actually

This commit is contained in:
2026-02-01 16:13:13 -07:00
parent b4309294e6
commit 35394228cc
11 changed files with 0 additions and 136 deletions

View File

@@ -38,13 +38,6 @@ export async function handler (context: Context) {
const userId = authResult.id
const body = context.body as Body
if (!body.newPassword) {
connection0.end()
return jsonResponse(
{ success: false, message: 'No new password provided' },
400
)
}
if (
!/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d!@#$%^&*()_\-+=]{8,}$/.test(