Fix for the redirection exception which was, amongst other places, thrown and shown at login, when calling the /cms/content-center page before logging in
git-svn-id: https://svn.libreccm.org/ccm/trunk@4962 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
34a0918c92
commit
cd911e44ea
|
|
@ -110,7 +110,7 @@ final class Store implements KeyStorage {
|
|||
throw new IllegalStateException
|
||||
("the store is null");
|
||||
}
|
||||
if ( m_secret.length != SecurityConfig.SECRET_KEY_BYTES ) {
|
||||
if ( m_secret.length != SecurityConfig.SECRET_KEY_BYTES * 2 - 1 ) {
|
||||
throw new IllegalArgumentException
|
||||
("wrong length. expected=" + SecurityConfig.SECRET_KEY_BYTES +
|
||||
", but got " + m_secret.length);
|
||||
|
|
|
|||
Loading…
Reference in New Issue