Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/253302

Change subject: AuthManager support for oathauth role
......................................................................

AuthManager support for oathauth role

Depends on Ic492b8f2477c475f8414b61505139e9a1df2ba5b

Change-Id: I47285a94c173107bec338b8e653a4bd8f7ee589c
---
M puppet/modules/role/manifests/oathauth.pp
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/02/253302/1

diff --git a/puppet/modules/role/manifests/oathauth.pp 
b/puppet/modules/role/manifests/oathauth.pp
index a32aa35..4fbf15c 100644
--- a/puppet/modules/role/manifests/oathauth.pp
+++ b/puppet/modules/role/manifests/oathauth.pp
@@ -4,8 +4,13 @@
 # [1] https://www.mediawiki.org/wiki/Extension:OATHAuth
 #
 class role::oathauth {
+    $configKey = 
"wgAuthManagerConfig['secondaryauth']['TOTPSecondaryAuthenticationProvider']"
+
     mediawiki::extension { 'OATHAuth':
         needs_update => true,
+        settings => {
+            "${configKey}" => {'class' => 
'TOTPSecondaryAuthenticationProvider'},
+        },
     }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/253302
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47285a94c173107bec338b8e653a4bd8f7ee589c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to