mfa.ifHasState

Check if the given provider for the current user has the requested state set

Arguments

then

DataType
mixed
Required
false
Description
Value to be returned if the condition if met.

else

DataType
mixed
Required
false
Description
Value to be returned if the condition if not met.

state

DataType
string
Required
false
Description
The state to check for (e.g. active or locked)

provider

DataType
mixed
Required
false
Description
The provider in question