mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix a derpie reset bug
This commit is contained in:
parent
ff3cbe856a
commit
0e4583a3bf
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -471,7 +471,7 @@ the NeoCities Cat
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/password_reset_confirm' do
|
get '/password_reset_confirm' do
|
||||||
site = Site.filter(password_reset_token: params[:code]).all
|
sites = Site.filter(password_reset_token: params[:code]).all
|
||||||
|
|
||||||
if sites.length < 0
|
if sites.length < 0
|
||||||
sites.each do |site|
|
sites.each do |site|
|
||||||
|
|
Loading…
Add table
Reference in a new issue