openfactory-ch / whmcs-oath-addon

Google Authenticator (OATH) addon for WHMCS 6+ for admin and client area.
19 stars 20 forks source link

Name of WHMCS Site not appearing in Google Authenticator #18

Open BenjaminM007 opened 7 years ago

BenjaminM007 commented 7 years ago

The name of the WHMCS site is blank so there is no way to know if the code belong to WHMCS or not. I have attached a screenshot and you can see via the arrows that Wordpress appears and Amazon in my Google Authenticator image014 but no name for WHMCS

DewlanceHosting commented 6 years ago

I was facing same issue but fixed by editing this code:

Open oath.php file:

Find for line: (I replaced 2 lines) $company2 = $CONFIG['CompanyName'];

Change it to: $company = $CONFIG['CompanyName'];

If not work then change $company2 = $CONFIG['CompanyName'];

To $company2 = "Your Company Name Here"

Note: I am not author, etc. Just wanted to help people who is using this.

shabsta commented 6 years ago

@kunnusingh thanks for the headsup,

I had to change Find for line: (I replaced 2 lines) $company2 = $CONFIG['CompanyName']; to $company = 'Your Company Name Here';