diff --git a/README.rdoc b/README.rdoc index f7ca2ce9..8bb52c24 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1463,7 +1463,7 @@ application (Rails/Ramaze/Camping/...): get('/login') { haml :login } post('/login') do - if 'admin' == params[:name] && 'admin' == params[:password] + if params[:name] == 'admin' && params[:password] == 'admin' session['user_name'] = params[:name] else redirect '/login'