app/controllers/api/user_controller.rb in gds-sso-3.0.4 vs app/controllers/api/user_controller.rb in gds-sso-3.0.5

- old
+ new

@@ -9,10 +9,10 @@ head :ok end def reauth user = GDS::SSO::Config.user_klass.find_by_uid(params[:uid]) - if user.set_remotely_signed_out! + if user.nil? || user.set_remotely_signed_out! head :ok else head 500 end end