Get user name from vk if logins for the first time
This commit is contained in:
@@ -16,7 +16,8 @@ class UserController < ApplicationController
|
||||
if session.key != session_key
|
||||
session.key = session_key
|
||||
session.save
|
||||
render :json => { 'ok_reload' => true }
|
||||
@res[:ok_reload] = true
|
||||
render :json => @res
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user