Skip to content

lampi87/LmcUserOTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
    ],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published