Module mod_auth2fa

Add 2FA TOTP authentication.

Copyright © 2019 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Add 2FA TOTP authentication

Function Index

event/2Change the 2FA setting for the user group.
observe_admin_menu/3Add admin menu for external services.
observe_auth_postcheck/2Check the 2FA code, called after password check passed.

Function Details

event/2

event(Postback, Context) -> any()

Change the 2FA setting for the user group

observe_admin_menu/3

observe_admin_menu(Admin_menu, Acc, Context) -> any()

Add admin menu for external services.

observe_auth_postcheck/2

observe_auth_postcheck(Auth_postcheck, Context) -> any()

Check the 2FA code, called after password check passed.


Generated by EDoc