FIX: grant admin on subfolder
This commit is contained in:
parent
bbf48d395e
commit
bf00ab5d4a
|
@ -8,7 +8,7 @@ class AdminConfirmationMailer < ActionMailer::Base
|
|||
to_address,
|
||||
template: 'admin_confirmation_mailer',
|
||||
target_username: target_username,
|
||||
admin_confirm_url: confirm_admin_url(token: token, host: Discourse.base_url_no_prefix)
|
||||
admin_confirm_url: confirm_admin_url(token: token, host: Discourse.base_url)
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<%=raw (t('activation.admin_confirm.complete', target_username: @confirmation.target_user.username)) %>
|
||||
<br/>
|
||||
<br/>
|
||||
<%= link_to t("activation.admin_confirm.back_to", title: SiteSetting.title), "/", class: 'btn btn-primary' %>
|
||||
<%= link_to t("activation.admin_confirm.back_to", title: SiteSetting.title), Discourse.base_url, class: 'btn btn-primary' %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue