mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Fix #948: ensure the admin panel is disabled
This commit is contained in:
parent
7e722cd0c3
commit
710dde1faf
4
tests/compose/webmail/01_ensure_admin_unreachable.sh
Normal file
4
tests/compose/webmail/01_ensure_admin_unreachable.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
[[ `curl -I -so /dev/null -w "%{http_code}" http://localhost/` -ne 200 ]] && echo "The default page of rainloop hasn't returned 200!" >>/dev/stderr && exit 1
|
||||
[[ `curl -I -so /dev/null -w "%{http_code}" http://localhost/?admin` -ne 403 ]] && echo "The admin of rainloop is not disabled!" >>/dev/stderr && exit 1
|
Loading…
x
Reference in New Issue
Block a user