mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
FIX: Follow up fixes for password-reset error page (#18794)
* FIX: Follow up fixes for password-reset error page Pass in `base_url` to the template Use `.html_safe` since the message now contains html Follow up to: 9b1536fb833f00a1625fe198964e90a32bb5bc71 * Update specs to pass in the base_url
This commit is contained in:
@ -1895,7 +1895,7 @@ class UsersController < ApplicationController
|
||||
@user = User.find(user_id) if user_id > 0
|
||||
end
|
||||
|
||||
@error = I18n.t('password_reset.no_token') if !@user
|
||||
@error = I18n.t('password_reset.no_token', base_url: Discourse.base_url) if !@user
|
||||
end
|
||||
|
||||
def respond_to_suspicious_request
|
||||
|
Reference in New Issue
Block a user