fix in BrowserToken to avoid Null Pointer Exception
This commit is contained in:
parent
9da89f5101
commit
67d11bfa3b
|
@ -125,6 +125,7 @@ public final class BrowserToken {
|
|||
MessageDigest digest = MessageDigest.getInstance("SHA-512");
|
||||
Base64 encoder = new Base64();
|
||||
digest.reset();
|
||||
if (session.getWebSession() != null)
|
||||
digest.update(session.getWebSession().getBytes("UTF-8"));
|
||||
String password = null;
|
||||
if (MSystem.isZKRememberPasswordAllowed())
|
||||
|
|
Loading…
Reference in New Issue