Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #194 (new improvement)

Opened 7 years ago

Last modified 7 years ago

Lock Entire Phtagr site

Reported by: vue Owned by:
Priority: minor Milestone: 2.4
Component: unspecified Version:
Keywords: Cc:


I would like to make it so if anyone visits the Phtagr site there automatically presented with a login screen - and no way to guest access.

Essentially locking the entire thing, how can i do that?

Change History

comment:1 Changed 7 years ago by sebastian

Currently there is no direct functionality implemented yet. But you can edit your Controller/AppController?.php and change the function beforeFilter() with given redirect:

  public function beforeFilter() {
    if ($this->action != 'login' && $this->getUserId() <= 0) {
Note: See TracTickets for help on using tickets.