mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-20 07:40:50 +08:00
feat: add UserLogin (#209)
This commit is contained in:
@@ -153,3 +153,10 @@ export const checkCfTurnstile = async (c, token) => {
|
||||
throw new Error("Captcha failed");
|
||||
}
|
||||
}
|
||||
|
||||
export const checkUserPassword = (password) => {
|
||||
if (!password || password.length < 1 || password.length > 100) {
|
||||
throw new Error("Invalid password")
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user