My changeset had a bug that broke feeds. This should fix them.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@374 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-12-11 11:13:37 +00:00
parent aa41974d4c
commit df6e82186c
2 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ protected
# Check whether the token in the URL matches the word in the User's table
def check_token_against_user_word
@user = User.find_by_login( params['name'] )
@user = User.find_by_login( params['login'] )
unless ( params['token'] == @user.word)
render :text => "Sorry, you don't have permission to view this page."
return false