Hesk V3.5.3
I have just done a brand new fresh install of HESK, and i have a problem that MFA is ONLY working for Users>Team. MFA is not offered for Users>Customers.
In Users>Team, the MFA column shows "Email" ( and in the profile i can change it to App authenticator), and i do get the MFA code by email
In Users>Customers, the MFA column shows "None"
in Settings, I have
- Customer Accounts set to Enabled - Required to access (only logged-in customers can access the help desk and knowledgebase)
- Customers can register account, staff must approve new registrations
- Require MFA is Enabled. ( i have tried disabling / re-enabling )
Should MFA work for customers, and does anyone have any thought on how to get this working ?
Many thanks
mfa not working for customers
Moderator: mkoch227
Re: mfa not working for customers
MFA works for customers, but they need to set it up manually on their "Profile" page (https://example.com/hesk/profile.php)
For staff, MFA is turned on to email automatically when set to "Required" in Hesk settings. For customers, it isn't.
This is indeed something we can improve in the future (Required for staff, Required for customers, Required for all).
For staff, MFA is turned on to email automatically when set to "Required" in Hesk settings. For customers, it isn't.
This is indeed something we can improve in the future (Required for staff, Required for customers, Required for all).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 2
- Joined: Sun May 25, 2025 8:48 pm
Re: mfa not working for customers
Hi Klemen,
Thanks. As a quick fix, is it as simple as setting a column in one of the database tables to enable email mfa, and if so can you advise which table ( and value), then I can hopefully modify the code myself
Thanks. As a quick fix, is it as simple as setting a column in one of the database tables to enable email mfa, and if so can you advise which table ( and value), then I can hopefully modify the code myself
Re: mfa not working for customers
You need to set mfa_enrollment to 1 for customers.
This SQL should set it for all verified customers with an email:
I did not test the code, so backup the database before trying.
This SQL should set it for all verified customers with an email:
Code: Select all
UPDATE `hesk_customers` SET `mfa_enrollment` = '1' WHERE `verified` = 1 AND `email` != '';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools