mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 13:52:56 +00:00
add small modification for use on demo.kopano.com
on demo systems one can now run `make build-webapp-demo` and then get a kopano_webapp container with added login hints Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ARG docker_repo=zokradonh
|
||||
FROM ${docker_repo}/kopano_webapp
|
||||
|
||||
RUN sed -i '1s/^/<?php $user="user".rand(1, 15); ?>\n/' /usr/share/kopano-webapp/server/includes/templates/login.php && \
|
||||
sed -i 's/id="password"/id="password" value="<?php echo $user; ?>"/' /usr/share/kopano-webapp/server/includes/templates/login.php
|
||||
Reference in New Issue
Block a user