mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
cloudIDE saas定制api
This commit is contained in:
@@ -113,7 +113,7 @@ class UsersController < ApplicationController
|
||||
def info
|
||||
@code = 1001
|
||||
@message = "用户不存在"
|
||||
if params[:token].present?
|
||||
if params[:token].present? && current_user.logged?
|
||||
@user = User.try_to_autologin(params[:token])
|
||||
if @user.present?
|
||||
@code = 1000
|
||||
|
||||
Reference in New Issue
Block a user