redirect to news after login
This commit is contained in:
@@ -119,7 +119,7 @@ class UsersController < ApplicationController
|
|||||||
end
|
end
|
||||||
@user.email_token = SecureRandom.hex(16)
|
@user.email_token = SecureRandom.hex(16)
|
||||||
else
|
else
|
||||||
flash[:alert] = "Token invalid for this username"
|
flash[:alert] = "Token invalid for this username/email"
|
||||||
render action: "new"
|
render action: "new"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user