Commit graph

5 commits

Author SHA1 Message Date
Reedy 5acd2eed17 Add some logging of OATHAuth actions
Logs:
* User enrolling in OATHAuth
* User un-enrolling in OATHAuth
* Scratch token used
* 2FA disabled via a maintenance script
* 2FA disabled via Special:DisableOATHForUser
* Logged in using OTP
* User attempted to enable 2FA using a scratch token
* User attempted to enable 2FA using an invalid OTP

Bug: T151010
Change-Id: Ie6ee610a11814616d34c3d9f5467a563f0db2df3
2018-10-26 15:47:01 +00:00
Max Semenik a4f0de6b8d MWCryptRand::generate() is deprecated
Change-Id: I7cd7a145265abe1bcb036c9b7d34201729b569b8
2018-07-17 00:21:09 -07:00
Reedy 7324af639b Remove extra parameters to MWCryptRand::generate() calls
Fixes phan failures

Change-Id: Ie501c277a68cd05877985ee1f2360a03b9989ebe
2018-06-11 19:49:39 +01:00
Kunal Mehta 146b26349a Make licensing explicit, add missing GPL file headers
Since this repository has multi-licensed code, add GPL v2+ file headers
to code that had no licensing blocks to make it obvious which files
carry which license.

And add "AND GPL-3.0-or-later" to extension.json's license-name property
to make it clear that this extension does have code that isn't
redistributable under GPL v2.

Change-Id: Id3059fb9596527ef054bec9d89a28f1ccbe2113d
2018-04-10 18:29:26 -07:00
Kunal Mehta 7451a5df33 Move classes to includes/
Change-Id: I2d2a917e5a22f88dc644eb3c33f775642728e1f4
2018-04-09 00:51:39 -07:00
Renamed from OATHAuthKey.php (Browse further)