oops
This commit is contained in:
@@ -90,7 +90,7 @@ class UsersController < ApplicationController
|
|||||||
@user.uuid = user_profile["id"]
|
@user.uuid = user_profile["id"]
|
||||||
@user.ign = user_profile["name"] # correct case
|
@user.ign = user_profile["name"] # correct case
|
||||||
|
|
||||||
if true validate_token(@user.uuid, @user.email, params[:registration_token])
|
if validate_token(@user.uuid, @user.email, params[:registration_token])
|
||||||
@user.last_ip = request.remote_ip # showing in mail
|
@user.last_ip = request.remote_ip # showing in mail
|
||||||
if @user.save
|
if @user.save
|
||||||
session[:user_id] = @user.id
|
session[:user_id] = @user.id
|
||||||
|
|||||||
Reference in New Issue
Block a user