aboutsummaryrefslogtreecommitdiff
path: root/lib/models/TFASecret.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-10-02 09:26:54 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-10-02 09:26:54 +0000
commiteb19fa6a076a8d211cd483afb01eeda6172d27e4 (patch)
tree3eb6355b6918ceb0e2c9978cb5d98cb9f4458640 /lib/models/TFASecret.php
parentfe64b827e2e503085c6f596eeed08d6ece36624b (diff)
fixes #3225
Closes #3225 Merge request studip/studip!2186
Diffstat (limited to 'lib/models/TFASecret.php')
-rw-r--r--lib/models/TFASecret.php19
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/models/TFASecret.php b/lib/models/TFASecret.php
index 6d14c81..a841d5c 100644
--- a/lib/models/TFASecret.php
+++ b/lib/models/TFASecret.php
@@ -8,16 +8,15 @@ use OTPHP\TOTP;
* @license GPL2 or any later version
* @since Stud.IP 4.4
*
- * @property string $id
- * @property string $user_id
- * @property string $secret
- * @property string $type
- * @property bool $confirmed
- * @property int $mkdate
- * @property int $chdate
- *
- * @property User $user
- * @property TFAToken[]|SimpleORMapCollection $tokens
+ * @property string $id alias column for user_id
+ * @property string $user_id database column
+ * @property string $secret database column
+ * @property int $confirmed database column
+ * @property string $type database column
+ * @property int $mkdate database column
+ * @property int $chdate database column
+ * @property SimpleORMapCollection|TFAToken[] $tokens has_many TFAToken
+ * @property User $user belongs_to User
*/
class TFASecret extends SimpleORMap
{