Fix crash on successful log in
This commit is contained in:
parent
6c3ae626e9
commit
fa0d031ee8
|
@ -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))
|
Ok(Some(user))
|
||||||
} else {
|
} else {
|
||||||
Ok(None)
|
Ok(None)
|
||||||
|
|
Loading…
Reference in a new issue