diff options
Diffstat (limited to 'src/chef/utils.clj')
-rw-r--r-- | src/chef/utils.clj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chef/utils.clj b/src/chef/utils.clj index 3170be9..f909c52 100644 --- a/src/chef/utils.clj +++ b/src/chef/utils.clj @@ -14,4 +14,5 @@ `(if (some? (get-in ~request [:session :oauth-token])) (do ~@body) ~(-> (ruresp/response "Unauthorized.") - (ruresp/status 401)))) + (ruresp/status 302) + (ruresp/header "Location" "/auth")))) |