mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Don't redirect to login when activating account...
This commit is contained in:
parent
3368e23fe4
commit
915f60b0fc
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ class UsersController < ApplicationController
|
||||||
:create,
|
:create,
|
||||||
:get_honeypot_value,
|
:get_honeypot_value,
|
||||||
:activate_account,
|
:activate_account,
|
||||||
|
:perform_account_activation,
|
||||||
:send_activation_email,
|
:send_activation_email,
|
||||||
:authorize_email,
|
:authorize_email,
|
||||||
:password_reset]
|
:password_reset]
|
||||||
|
@ -277,7 +278,7 @@ class UsersController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def activate_account
|
def activate_account
|
||||||
expires_now()
|
expires_now
|
||||||
render layout: 'no_js'
|
render layout: 'no_js'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue