#944: Fixed auth. sessions not persistent (#992)

This commit is contained in:
David Simpson
2022-05-23 09:52:44 +02:00
committed by GitHub
parent b407d0aee0
commit b8c718ce9e
3 changed files with 13 additions and 1 deletions

View File

@@ -49,7 +49,10 @@ export class AuthenticationClientService
this.service
.session()
.then((session) => this.notifySessionDidChange(session));
this.setOptions();
this.service.initAuthSession()
this.arduinoPreferences.onPreferenceChanged((event) => {
if (event.preferenceName.startsWith('arduino.auth.')) {
this.setOptions();