mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: Add support for logging in with an email address
This commit is contained in:
@@ -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(),
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user