mirror of
https://github.com/zyphlar/LanternPowerMonitor.git
synced 2026-12-01 21:19:08 +00:00
Prevent an NPE if apple SSO is not configured on a self-hosted server.
This commit is contained in:
1 parent
07765061bd
commit
bf648f069c
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user