Use new Errors in latest changes

This commit is contained in:
Daniel García committed 2018-12-30 21:43:55 +01:00
1 parent b2fc0499f6
commit 250a2b340f
3 files changed
+7 -16

No files matched your search

+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")
}