Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
428 views
in Q2A Core by
Hi,

 

I am using single sign on, and am signed with a user that in the table 'users' has a 'userid' of 1. In the 'admin' table I have set the 'id' field to 1 for this user too (for now I only want myself as admin).

However when I go to admin I am getting the mesage that I need to be logged in as administrator.

 

What am I doing wrong and is there a guide for this somewhere?
Q2A version: Latest
by
moved by
Any takers on this question?

1 Answer

0 votes
by
 
Best answer

Your qa_get_logged_in_user(...) function in qa-external-users.php needs to set the 'level' in the returned array. See the examples in that file.

by
thanks! That did it.
...