AnsPress 2.0 – Ask question shows login part even if already logged-in

3.61K viewsCore
0

If I am logged in as adminstrator and I go to the “http://localhost:8080/questions/ask/” page, I get the ask form.
If I logout and login again with a non-admin account and I go to the “http://localhost:8080/questions/ask/” page, I get “Please Login or Register to ask a question.” I added a line to the Ask page to print the username and it shows the correct name of the user that is logged in.