View Single Post
Old 05-22-2014, 06:10 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by triggerfish View Post
Hi,
I would like to change the message in the logon box for the network server. Would like to tell people how to get the password. Can't find ho to do that.
Please advice.
Peter
The login message is controlled by the web browser, not the server. The only thing the server can change is the "Authentication domain", which for calibre is "Your calibre library". If you want to change the authentication domain you must run from source. See http://manual.calibre-ebook.com/develop.html. Once you have a running source version, change the file src/calibre/library/server/base.py at line 194 to say what you want. I wouldn't be surprised if web browsers choke if you make it overly long.

As an aside, I hope that you aren't setting up a general book sharing site. Piracy isn't cool.
chaley is offline   Reply With Quote