Remove sysadmin condition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
421d38e9b9
commit
b19cdd857f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ COPY --from=src /src/ldap-overleaf-sl/sharelatex/navbar.pug /overleaf/services/w
|
|||
# Non LDAP User Registration for Admins
|
||||
COPY --from=src /src/ldap-overleaf-sl/sharelatex/admin-index.pug /overleaf/services/web/app/views/admin/index.pug
|
||||
COPY --from=src /src/ldap-overleaf-sl/sharelatex/admin-sysadmin.pug /tmp/admin-sysadmin.pug
|
||||
RUN if [ "${admin_is_sysadmin}" = "true" ] ; then cp /tmp/admin-sysadmin.pug /overleaf/services/web/app/views/admin/index.pug ; else rm /tmp/admin-sysadmin.pug ; fi
|
||||
RUN cp /tmp/admin-sysadmin.pug /overleaf/services/web/app/views/admin/index.pug
|
||||
|
||||
#RUN rm /overleaf/services/web/app/views/admin/register.pug
|
||||
|
||||
|
|
Loading…
Reference in a new issue