xyj70 / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

admin cant login if you delete default domain #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete the default domain
2. Try to login as admin user

If you delete the default domain then try to login as the admin user you will 
notice that you no longer can login. Even if you add the default domain again 
later you still cannot login. I even tried resetting the admin user password 
and it doesnt help. Not sure why that would be.

Original issue reported on code.google.com by chatwi...@gmail.com on 31 Oct 2012 at 5:46

GoogleCodeExporter commented 9 years ago
Hi, this is my workaround;

in /var/www/fusionpbx/login.php

add the followed string as new line at line "76"

$_SESSION['security']['login']['domain_name'] = "true";

restart apache

now at the login page you'll have the domain camp to writte down the new domain 
that you create.

Original comment by isem...@gmail.com on 2 Nov 2012 at 4:08

GoogleCodeExporter commented 9 years ago
"admin cant login if you delete default domain"

This isn't a bug. The user in the superadmin group made a big mistake and 
didn't think about the effects of deleting a domain that their user was a 
member of. In other words you deleted your user account.

Original comment by markjcrane@gmail.com on 21 Nov 2012 at 7:26