cloudIDE saas定制api
This commit is contained in:
parent
6d2a6e0331
commit
8b1f06f010
|
@ -113,7 +113,7 @@ class UsersController < ApplicationController
|
|||
def info
|
||||
@code = 1001
|
||||
@message = "用户不存在"
|
||||
if params[:token].present? && current_user.logged?
|
||||
if params[:token].present?
|
||||
@user = User.try_to_autologin(params[:token])
|
||||
if @user.present?
|
||||
@code = 1000
|
||||
|
|
Loading…
Reference in New Issue