mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Remove unused code and routes that don't exist in session_controller
This commit is contained in:
@ -36,11 +36,6 @@ class SessionController < ApplicationController
|
||||
render :json => {error: I18n.t("login.incorrect_username_email_or_password")}
|
||||
end
|
||||
|
||||
# Retrieve information about the site and session
|
||||
def index
|
||||
render_serialized(DiscourseSession.new, DiscourseSessionSerializer)
|
||||
end
|
||||
|
||||
def forgot_password
|
||||
requires_parameter(:username)
|
||||
|
||||
|
Reference in New Issue
Block a user