tecnickcom / tcexam

TCExam is a CBA (Computer-Based Assessment) system (e-exam, CBT - Computer Based Testing) for universities, schools and companies, that enables educators and trainers to author, schedule, deliver, and report on surveys, quizzes, tests and exams.
http://www.tcexam.org
Other
570 stars 401 forks source link

Cannot perform login when access via ipwan #386

Closed quanhh1 closed 11 months ago

quanhh1 commented 3 years ago

When i perform submitting at the login form the ipwan turned into "localhost/admin/... or "localhost/public..." and if i want to access successfully then i have to change my url part from "localhost" to "ipwan" and everything is solved. Is that a issue , sorry for my english. Thanks you sir. I used version 14.8.1

mamans86 commented 3 years ago

I think it is not an issue. If you want flexibility you can change the path to: $_SERVER['HTTP_HOST']

quanhh1 commented 3 years ago

Sory that is my misconfiguration at the initial installation, i leave "localhost" in field "host url".

quanhh1 commented 3 years ago

I think it is not an issue. If you want flexibility you can change the path to: $_SERVER['HTTP_HOST']

Exactly thank you so much 👍