Hello,
I've created a page with users authentication, which causes the browser (i.e., Google Chrome) to launch a popup for retrieving the credentials fro the user.
However, this popup displays Freescale's customized message (for full text see attached screenshot): "The server says: Freescale webpage."
How can I modify this text? i can't display as is in my product since it look unprofessional...
Thanks,
Lior.
Solved! Go to Solution.
Hi Lior,
I agree with you. It doesn't good right to have this message in your authentication window. You can change this message in the array auth_realms[ ]. In the example "C:\Freescale\Freescale_MQX_4_1\rtcs\examples\httpsrv" it is located in the file httpdsrv.c. The first parameter of the first element is an array. Change it to the message you want it to be displayed.
Please let me know if doesn't work.
Have a great day,
Garabo
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Lior,
I agree with you. It doesn't good right to have this message in your authentication window. You can change this message in the array auth_realms[ ]. In the example "C:\Freescale\Freescale_MQX_4_1\rtcs\examples\httpsrv" it is located in the file httpdsrv.c. The first parameter of the first element is an array. Change it to the message you want it to be displayed.
Please let me know if doesn't work.
Have a great day,
Garabo
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Of course - now it seems very trivial :smileyhappy:
Thanks!
Lior.