from auth.backend import MyCustomBackend
from myslice.viewutils import the_user
+from myslice.config import Config
def login_user(request):
state = "Please log in below..."
username = password = ''
- env={'hard_wired_users':MyCustomBackend.hard_wired_users}
-
+ env={'hard_wired_users':MyCustomBackend.hard_wired_users,
+ 'manifold_url':Config.manifold_url(),
+ }
+
if request.POST:
username = request.POST.get('username')
password = request.POST.get('password')