mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 13:38:41 +00:00
fix: Fix the wrong generation of cookie salt
The last commit changed the installation script a lot, but made a mistake on the genration of config. It gen the cookie-checksum-salt to user-checksum-salt. Just fix it.
This commit is contained in:
parent
19aac52bcd
commit
1c1e219681
@ -161,7 +161,7 @@ setWebConf(){
|
||||
\$config = include '/var/www/uoj/app/.default-config.php';
|
||||
\$config['database']['password']='$_database_password_';
|
||||
\$config['security']['user']['client_salt']='$(genRandStr 32)';
|
||||
\$config['security']['user']['checksum_salt']=['$(genRandStr 16)','$(genRandStr 16)','$(genRandStr 16)'];
|
||||
\$config['security']['cookie']['checksum_salt']=['$(genRandStr 16)','$(genRandStr 16)','$(genRandStr 16)'];
|
||||
\$config['judger']['socket']['port']='$_judger_socket_port_';
|
||||
\$config['judger']['socket']['password']='$_judger_socket_password_';
|
||||
\$config['svn']['our-root']['password']='$_svn_certroot_password_';
|
||||
|
Loading…
Reference in New Issue
Block a user