mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-27 17:50:15 +00:00
Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514 Bug: T321681 Change-Id: If34bda0a8d0f882d51fea1fcf4257bb5de09948a
This commit is contained in:
parent
24de243925
commit
4b32885285
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue