Cannot log in with new user

Status
Not open for further replies.

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
I have just installed a fresh copy of the latest master, created a domain and a couple of users and made them members of the admin group and now I cannot log in. Anyone else experienced this?

TIA
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
Have you checked what has been written to the DB? This is the trouble with installing from master, we are all getting slightly different software - it makes trying to replicate someone else's problem very difficult.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
Hmm... Dunno if I'm on a wild goose chase but the salt column is empty. It is though too for superadmin and I can log in with that.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
Shed load of nulls in the check_auth.php, I'm not going crazy :)

Code:
array(7) { ["plugin"]=> string(8) "database" ["domain_name"]=> string(21) "queue.mypbxdomain.com" ["username"]=> string(10) "digitaldaz" ["user_uuid"]=> NULL ["contact_uuid"]=> NULL ["domain_uuid"]=> NULL ["authorized"]=> string(5) "false" }
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
My mistake completely, there is nothing wrong with the code, I was using the wrong domain name.

With regards to the missing salts, this is no more than the new way of authenticating, ie the salt is part of the password itself now, the new php way apparently.
 
Status
Not open for further replies.