@ -203,7 +203,7 @@ class OauthController < ApplicationController
self.logged_user = openi.user if openi.present? && openi.user.present?
original_url = params[:original_url]
if current_user.logged?
if User.current.logged?
redirect_to original_url
else
redirect_to signin_path