Commits

Christian Boos committed 5450a40

Applied r2524 to 0.9-stable (as announced in TracStandalone documentation).

Comments (0)

Files changed (1)

trac/web/standalone.py

 
         req.remote_user = None
         if path_info == '/login':
-            auth = self.server.auths.get(project_name)
+            auth = self.server.auths.get(project_name) or \
+                   self.server.auths.get('*')
             if not auth:
                 raise util.TracError('Authentication not enabled. '
                                      'Please use the tracd --auth option.\n')