summaryrefslogtreecommitdiffstats
path: root/src/auth/msa.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/msa.rs')
-rw-r--r--src/auth/msa.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/msa.rs b/src/auth/msa.rs
index 404329b..add345c 100644
--- a/src/auth/msa.rs
+++ b/src/auth/msa.rs
@@ -119,8 +119,8 @@ impl XSTSAuthSuccessResponse {
self.get_display_claim("uhs")
}
- pub(super) fn get_xuid(&self) -> Option<Uuid> {
- self.get_display_claim("xid").and_then(|s| s.parse().ok()).map(|n| Uuid::from_u64_pair(0, n))
+ pub(super) fn get_xuid(&self) -> Option<&str> {
+ self.get_display_claim("xid")
}
pub(super) fn get_gamertag(&self) -> Option<&str> {