redirect to news after login

This commit is contained in:
jomo
2014-05-04 23:40:25 +02:00
parent 121204365b
commit b0e01d3b01

View File

@@ -119,7 +119,7 @@ class UsersController < ApplicationController
end
@user.email_token = SecureRandom.hex(16)
else
flash[:alert] = "Token invalid for this username"
flash[:alert] = "Token invalid for this username/email"
render action: "new"
end
else