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">
<center>
Something went wrong with your login.<br/>
If you believe this to be an error, contact <code>root `at` lysator.liu.se</code>.
</center>
</div>
...@@ -152,6 +152,13 @@ class datorhandbok ( ...@@ -152,6 +152,13 @@ class datorhandbok (
require => Package['mediawiki'], 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': file { '/etc/php/7.3/apache2/conf.d/20-curl.ini':
ensure => link, ensure => link,
target => '/etc/php/7.3/mods-available/curl.ini', target => '/etc/php/7.3/mods-available/curl.ini',
......
Markdown is supported
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