Commit 25ba83da authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Add login-error page.

parent 873152e5
<!doctype html>
<title>Login Denied</title>
<div style="background-color:pink">
Something went wrong with your login.<br/>
If you believe this to be an error, contact <code>root `at`</code>.
......@@ -152,6 +152,13 @@ class datorhandbok (
require => Package['mediawiki'],
# Set in CASAuthSettings as redirect location on failed login
file { '/var/lib/mediawiki/login-error.php':
ensure => file,
source => 'puppet:///modules/datorhandbok/login-error.php',
require => Package['mediawiki'],
file { '/etc/php/7.3/apache2/conf.d/20-curl.ini':
ensure => link,
target => '/etc/php/7.3/mods-available/curl.ini',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment