Use new Errors in latest changes

This commit is contained in:
Daniel García
2018-12-30 21:43:55 +01:00
parent b2fc0499f6
commit 250a2b340f
3 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> EmptyResult {
}
}
} else if CONFIG.signups_allowed {
err!("Account with this email already exists")
err!("Account with this email already exists")
} else {
err!("Registration not allowed")
}