Skip to content

Commit a660719

Browse files
Make portal token changes actually apply
1 parent 1c74bda commit a660719

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

refbox/src/app/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,9 @@ impl RefBoxApp {
16231623
Message::ApplyAuthChanges => {
16241624
let settings = self.edited_settings.as_mut().unwrap();
16251625
self.config.uwhportal.token = settings.uwhportal_token.clone();
1626+
if let Some(client) = self.uwhportal_client.as_mut() {
1627+
client.set_token(&settings.uwhportal_token);
1628+
}
16261629

16271630
let task = self.check_uwhportal_auth();
16281631

0 commit comments

Comments
 (0)