Fix crash on successful log in

This commit is contained in:
Emii Tatsuo 2020-11-27 18:36:24 -05:00
parent 6c3ae626e9
commit fa0d031ee8
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ impl NotSignedInUser {
}
}
user.add_certificate(self.certificate)?;
user.add_certificate(self.certificate.clone())?;
user.active_certificate = Some(self.certificate);
Ok(Some(user))
} else {
Ok(None)