[gen] Added Config.discreetLogin allowing to put a discreet link on the main page for logging in, instead of the login form in the central strip, for sites where logged users do not represent the majority of visitors (only some admins).

This commit is contained in:
Gaetan Delannay 2013-05-10 12:16:57 +02:00
parent 8a0ee2c131
commit 820d3ef241
11 changed files with 94 additions and 86 deletions

View file

@ -3013,6 +3013,10 @@ class Config:
self.activateForgotPassword = True
# Enable session timeout?
self.enableSessionTimeout = False
# If the following field is True, the login/password widget will be
# discreet. This is for sites where authentication is not foreseen for
# the majority of visitors (just for some administrators).
self.discreetLogin = False
# When using Ogone, place an instance of appy.gen.ogone.OgoneConfig in
# the field below.
self.ogone = None