mirror of
https://github.com/zyphlar/LanternPowerMonitor.git
synced 2024-03-08 14:07:47 +00:00
Prevent an NPE if apple SSO is not configured on a self-hosted server.
This commit is contained in:
parent
07765061bd
commit
bf648f069c
|
@ -28,7 +28,7 @@ public class AppleSSO {
|
|||
private final String audience;
|
||||
|
||||
public AppleSSO(String _credentialsPath) {
|
||||
audience = ResourceLoader.loadFileAsString(_credentialsPath).trim();
|
||||
audience = NullUtils.trim(ResourceLoader.loadFileAsString(_credentialsPath));
|
||||
}
|
||||
|
||||
public String getEmailFromIdToken(String _idToken) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user