Browse Source

fix sign up

laiwei 8 years ago
parent
commit
c265a9fe97
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rrd/view/__init__.py

+ 2 - 1
rrd/view/__init__.py

@@ -44,7 +44,8 @@ def app_before():
     path = request.path
     if not g.user and not path.startswith("/auth/login") and \
             not path.startswith("/static/") and \
-            not path.startswith("/portal/links/"):
+            not path.startswith("/portal/links/") and \
+            not path.startswith("/auth/register"):
         return redirect("/auth/login")
 
     if path.startswith("/screen"):