nodes/htz-cloud.pleroma: auto activate users with work email address
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-20 20:45:53 +01:00
parent 017c2c3421
commit ca857091e4
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -22,6 +22,9 @@ nodes['htz-cloud.pleroma'] = {
'backups': {
'exclude_from_backups': True,
},
'cron': {
'auto-authorize-sm-users': '* * * * * root echo "UPDATE users SET approval_pending=false WHERE email LIKE \'\\%@seibert-media.net\' AND approval_pending=true;" | psql pleroma >/dev/null',
},
'nginx': {
'vhosts': {
'pleroma': {
@ -31,6 +34,7 @@ nodes['htz-cloud.pleroma'] = {
},
'pleroma': {
'version': '2.2.2',
'url': 'cybert-media.net',
'secret_key': vault.decrypt('encrypt$gAAAAABgMVXXclfxVY022fM0Fdf94Oh3sxVlK0lYyBO_CsQFEbZcMua3w1oJY8_9d1JcrCJSSeBRTDnt-ZkRCQ6xKoALo8Rl7s9DPxa7J0vHdkggeZ3IHaOyXBcBPdx8vILyKDLHRXacaynOUBOjy6RIl6Qf2wH1ASbphCcjD-Njricg4PG6Rcixm87fF60rLBjAAkRoz5ZQnXlut1rhjLj-z-7UpA68fkeyPVJXbroWBJdmvCUt92dwjuGARsku2XI22mVvjtJJ'),
},
'vm': {