feat: Add support for logging in with an email address

This commit is contained in:
Ginger
2026-03-22 19:58:14 -04:00
committed by Ellis Git
parent 0b04757bef
commit 717d319708
2 changed files with 32 additions and 21 deletions
+2 -2
View File
@@ -341,7 +341,7 @@ impl Service {
let Ok(email) = Address::try_from(address.to_owned()) else {
return Err(StandardErrorBody {
kind: ErrorKind::InvalidParam,
message: "Email is invalid".to_owned(),
message: "Email is malformed".to_owned(),
});
};
@@ -371,7 +371,7 @@ impl Service {
) else {
return Err(StandardErrorBody {
kind: ErrorKind::InvalidParam,
message: "User ID is invalid".to_owned(),
message: "User ID is malformed".to_owned(),
});
};