Update moved class RawMessage

See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: If34bda0a8d0f882d51fea1fcf4257bb5de09948a
This commit is contained in:
gerritbot 2023-05-19 10:31:07 +00:00
parent 24de243925
commit 4b32885285
2 changed files with 19 additions and 7 deletions

View file

@ -10,7 +10,7 @@
"descriptionmsg": "oathauth-desc", "descriptionmsg": "oathauth-desc",
"type": "other", "type": "other",
"requires": { "requires": {
"MediaWiki": ">= 1.38.0" "MediaWiki": ">= 1.40.0"
}, },
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later", "license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
"attributes": { "attributes": {
@ -178,15 +178,23 @@
"RateLimits": { "RateLimits": {
"badoath": { "badoath": {
"&can-bypass": false, "&can-bypass": false,
"user": [ 10, 60 ], "user": [
"user-global": [ 10, 60 ] 10,
60
],
"user-global": [
10,
60
]
} }
}, },
"ReauthenticateTime": { "ReauthenticateTime": {
"oathauth-enable": 60 "oathauth-enable": 60
}, },
"load_composer_autoloader": true, "load_composer_autoloader": true,
"LogTypes": [ "oath" ], "LogTypes": [
"oath"
],
"LogNames": { "LogNames": {
"oath": "oath-log-name" "oath": "oath-log-name"
}, },
@ -201,8 +209,12 @@
}, },
"ActionFilteredLogs": { "ActionFilteredLogs": {
"oath": { "oath": {
"verify": [ "verify" ], "verify": [
"disable-other": [ "disable-other" ] "verify"
],
"disable-other": [
"disable-other"
]
} }
}, },
"manifest_version": 2 "manifest_version": 2

View file

@ -19,7 +19,7 @@
namespace MediaWiki\Extension\OATHAuth\Auth; namespace MediaWiki\Extension\OATHAuth\Auth;
use MediaWiki\Auth\AuthenticationRequest; use MediaWiki\Auth\AuthenticationRequest;
use RawMessage; use MediaWiki\Language\RawMessage;
/** /**
* AuthManager value object for the TOTP second factor of an authentication: * AuthManager value object for the TOTP second factor of an authentication: