From 1338786400fcbb08fb8952d454aa6c012bf48e81 Mon Sep 17 00:00:00 2001 From: Lee Jun Kit Date: Sat, 9 Oct 2021 18:01:26 +0800 Subject: [PATCH] remove username and pw --- PlayerCore/src/spotify.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PlayerCore/src/spotify.rs b/PlayerCore/src/spotify.rs index 9257dda..33dda26 100644 --- a/PlayerCore/src/spotify.rs +++ b/PlayerCore/src/spotify.rs @@ -50,7 +50,8 @@ impl Spotify { pub async fn new(sink_rx: Receiver<()>) -> Arc> { let session_config = SessionConfig::default(); let player_config = PlayerConfig::default(); - let credentials = Credentials::with_password("***REMOVED***", "***REMOVED***"); + // TODO: use env var for this, to be specified in the Xcode side somehow? + let credentials = Credentials::with_password("", ""); println!("Connecting..."); let session = Session::connect(session_config, credentials, None)