Grammar corrections followup to #510 (#512)

A very small commit, but let's do all the string corrections while I am already at it :-)

Wraps up #510
This commit is contained in:
Marek Ľach
2019-04-02 15:08:07 +02:00
committed by Baptiste Gelez
parent 26fc2cde5d
commit 723d2c4600
19 changed files with 93 additions and 56 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ pub fn create(
let user_id = if let Ok(user) = user {
if !user.auth(&form.password) {
let mut err = ValidationError::new("invalid_login");
err.message = Some(Cow::from("Invalid username or password"));
err.message = Some(Cow::from("Invalid username, or password"));
errors.add("email_or_name", err);
String::new()
} else {