mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 09:21:11 +00:00
i-var group together
This commit is contained in:
parent
0d5a72aef5
commit
a2241da91a
|
@ -133,9 +133,9 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||||
return if @rules.empty? || validated_accept_token?
|
return if @rules.empty? || validated_accept_token?
|
||||||
|
|
||||||
@accept_token = session[:accept_token] = SecureRandom.hex
|
@accept_token = session[:accept_token] = SecureRandom.hex
|
||||||
@invite_code = invite_code
|
@invite_code = invite_code
|
||||||
|
|
||||||
@rule_translations = @rules.map { |rule| rule.translation_for(I18n.locale) }
|
@rule_translations = @rules.map { |rule| rule.translation_for(I18n.locale) }
|
||||||
|
|
||||||
render :rules
|
render :rules
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user