Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
Puppet
Datorhandbok
Commits
25ba83da
Commit
25ba83da
authored
Feb 01, 2021
by
Hugo Hörnquist
Browse files
Add login-error page.
parent
873152e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
files/login-error.php
0 → 100644
View file @
25ba83da
<!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>
manifests/init.pp
View file @
25ba83da
...
...
@@ -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',
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment