Commit 5d720d21 authored by Michael Rose's avatar Michael Rose

auth: go back to JSON for now

parent 63c76f99
......@@ -6,12 +6,16 @@ class SsoController < DeviseController
include Devise::Controllers::Helpers
before_action :decode_jwt
respond_to :json
def create
if current_user and user.dlp_id == nil
merge_user_and_login current_user
else
create_or_login
end
render text: 'Oops.'
end
def destroy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment