default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / edit / process / reason.html
index 55c1ea9..dfc1862 100644 (file)
@@ -1,6 +1,12 @@
 <% include( 'elements/process.html',
                'table'    => 'reason',
-               'redirect' => popurl(3) . 'browse/reason.html?class=' .
+               'redirect' => popurl(3) . 'browse/reason_type.html?class=' .
                              $cgi->param('class') . '&',
            )
 %>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>