mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
remove monkeypatch that was causing file upload issues
This commit is contained in:
parent
82c473351f
commit
3f7f90c9e7
6 changed files with 9 additions and 13 deletions
|
@ -41,7 +41,7 @@ the Neocities Cat
|
|||
end
|
||||
|
||||
get '/password_reset_confirm' do
|
||||
if params[:token].nil? || params[:token].empty?
|
||||
if params[:token].nil? || params[:token].strip.empty?
|
||||
flash[:error] = 'Could not find a site with this token.'
|
||||
redirect '/'
|
||||
end
|
||||
|
@ -67,4 +67,4 @@ get '/password_reset_confirm' do
|
|||
end
|
||||
|
||||
redirect '/'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue