Browse Source

cloudIDE saas定制api

pull/313/head
“xxq250” 3 years ago
parent
commit
c668fd3530
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/users_controller.rb

+ 1
- 1
app/controllers/users_controller.rb View File

@@ -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


Loading…
Cancel
Save