Log password reset attempts

This commit is contained in:
ricola 2025-12-14 19:00:41 -06:00
parent d02a3f595d
commit 9483882acf

View file

@ -149,6 +149,7 @@ get '/reset' do
end
post '/reset' do
logger.info params[:email]
@errors = []
if not params[:email] =~ URI::MailTo::EMAIL_REGEXP
@errors << OpenStruct.new(:attribute => :email, :type => :invalid)