aboutsummaryrefslogtreecommitdiff
path: root/lib/models/TFAToken.php
blob: 2eb7873124de3d222823919d9f26597cfbcdd208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Model for a two factor authentication token stored in the database.
 *
 * @author  Jan-Hendrik Willms <tleilax+studip@gmail.com>
 * @license GPL2 or any later version
 * @since   Stud.IP 4.4
 */
class TFAToken extends SimpleORMap
{
    /**
     * Configures the model.
     *
     * @param  array  $config Configuration
     */
    protected static function configure($config = [])
    {
        $config['db_table'] = 'users_tfa_tokens';

        parent::configure($config);
    }
}