Message when user log in

Post here if you have some suggestions or you want to request a new feature.
Post Reply
as.info
Posts: 13
Joined: Wed Mar 25, 2015 1:55 pm

Message when user log in

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Message when user log in

Post 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>")
Post Reply