Page 1 of 1

Message when user log in

Posted: Wed Oct 25, 2017 7:56 am
by as.info
Hi

I want to known if it's possible to have a message when user log in
and the user have to click on a button "YES" on the message to enter.

Because we want that all user when they log on our FTP , they accpet terms of conditions

Regards

Thomas

Re: Message when user log in

Posted: Tue Oct 31, 2017 4:07 pm
by FTP
OK, maybe you can modify the html file "webclient/loginok.html", replace the line 95 into:

Code: Select all

print("<script>if(confirm('Do you accept the below policy?\\nxxxxxx\\nyyyyyy\\nzzzzzz')){location='main.html';} else{location='logout.html';}</script>")