Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 472 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 472 Bytes

Usage

Define auth_adapters in lmcuser.global.php

    'auth_adapters' => [
        80 => 'LmcUser\Authentication\Adapter\Db',
        10 => 'LmcUserOtp\Authentication\Adapter\OtpSms',
        0 => 'LmcUserOtp\Authentication\Adapter\OtpTotp'
    ],

Additional config

Define in local.phpconfig file. SMS config is based on SMS Eagle API

    'sms-gw' => [
        'host' => '',
        'token' => '',
        'otp-text' => 'OTP SMS text: %s'
    ],