mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-16 10:30:44 +00:00
fix
This commit is contained in:
@@ -113,8 +113,11 @@ fn check_email(machine: String, email: String, version: String) -> ResultType<u6
|
||||
if !p.status.is_empty() {
|
||||
bail!("{}", p.status);
|
||||
}
|
||||
if p.nonce.is_empty() {
|
||||
bail!("Verification failure: nonce required");
|
||||
}
|
||||
if !verify(&p.nonce, &nonce) {
|
||||
bail!("Verification failure");
|
||||
bail!("Verification failure: nonce mismatch");
|
||||
}
|
||||
if !machine.is_empty() {
|
||||
if !verify(&p.machine, &machine) {
|
||||
|
||||
Reference in New Issue
Block a user