From: joshuaruesweg Date: Sun, 22 Nov 2020 10:25:57 +0000 (+0100) Subject: Add `$multifactorActive` property for user dbo X-Git-Tag: 5.4.0_Alpha_1~555^2~34^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37b18d87cefaf95edfc0169bcf15061e034844d6;p=GitHub%2FWoltLab%2FWCF.git Add `$multifactorActive` property for user dbo --- diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 8bc0e834c6..8b17991c1e 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -73,6 +73,7 @@ use wcf\util\UserUtil; * @property-read integer $disableCoverPhotoExpires timestamp at which the user's cover photo will automatically be enabled again * @property-read integer $articles number of articles written by the user * @property-read string $blacklistMatches JSON string of an array with all matches in the blacklist, otherwise an empty string + * @property-read integer $multifactorActive is `1` if the use has enabled a second factor, otherwise `0` */ final class User extends DatabaseObject implements IPopoverObject, IRouteController, IUserContent { /**