[Thu Mar 01 09:11:48 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function profile_load_profile() in /modules/all/multifactor/multifactor.module on line 97, referer: http://corp/user/login?destination=

does this module require the profile module to be enabled?

Comments

ben.bunk’s picture

Good catch. Yes, this module requires the core profile module to be enabled and two fields to be created.

The following profile fields must be setup manually:
profile_multifactor_number
profile_multifactor_pin

I'll patch the info file to include the requirement for the profile module.

socialnicheguru’s picture

could we use content profile and add those two fields?

ben.bunk’s picture

I'm going to check if the profile module is enabled before calling profile_load_profile because Im sure there's situations where it won't be necessary.

Are you planning to use content_profile for the phone and pin as part of the multifactor_call module?

socialnicheguru’s picture

yes