messy hack around "loss of session data"
Should go away if/when we switch to Auth remoteuser extension
This commit is contained in:
parent
b365cfa58e
commit
5ee52eb5a1
@ -30,6 +30,12 @@ RUN chown -R www-data:www-data $SOURCE_ROOT
|
||||
RUN cd "$WIKI_SOURCE/maintenance" && \
|
||||
sh -c 'for TOOL in *.php; do LINK="/usr/bin/$(basename $TOOL .php)"; echo "#!/bin/sh\nphp $WIKI_SOURCE/maintenance/$TOOL \$@" > $LINK; chmod +x $LINK; done'
|
||||
|
||||
# 12 August 2018: Messy hack to make "loss of session data"
|
||||
# errors go away.
|
||||
# TODO: Rewrite Auth_SMF.php to use MW 1.27+ SessionManager/AuthManager
|
||||
# interface instead of legacy AuthPlugin interface.
|
||||
RUN sed -i 's/$this->getEditTokenObject( $salt, $request )->match( $val, $maxage )/true/g' "$WIKI_SOURCE/includes/user/User.php"
|
||||
|
||||
# Add our scripts
|
||||
ADD scripts scripts
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user