mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-25 10:06:48 +02:00
Use new Errors in latest changes
This commit is contained in:
3 files changed
+7
-16
No files matched your search
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user