summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Hostbase/hostbase/views.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/views.py b/src/lib/Server/Hostbase/hostbase/views.py
index 1f8a6787b..3807b8283 100644
--- a/src/lib/Server/Hostbase/hostbase/views.py
+++ b/src/lib/Server/Hostbase/hostbase/views.py
@@ -53,10 +53,6 @@ dispatch = {'mac_addr':'i.mac_addr LIKE \'%%%%%s%%%%\'',
## t.failures = False
## return HttpResponse(str(t))
-def login(request):
- return render_to_response('login.html', {'next':'/hostbase'})
-
-
def search(request):
"""Search for hosts in the database
If more than one field is entered, logical AND is used
@@ -885,5 +881,11 @@ if settings.CFG_TYPE == 'environ':
zonenew = login_required(zonenew)
else:
- pass
+ edit = login_required(edit)
+ confirm = login_required(confirm)
+ dnsedit = login_required(dnsedit)
+ new = login_required(new)
+ remove = login_required(remove)
+ zoneedit = login_required(zoneedit)
+ zonenew = login_required(zonenew)