projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f7401
)
Don't include passwords in the request log.
author
Tom Hughes
<tom@compton.nu>
Thu, 19 Jul 2007 08:57:03 +0000
(08:57 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 19 Jul 2007 08:57:03 +0000
(08:57 +0000)
app/controllers/user_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/user_controller.rb
b/app/controllers/user_controller.rb
index 5eba0e8373a0392b2078d104adb5998a98ad78d7..80402f6776e7b873901da2583b29e47b990c829c 100644
(file)
--- a/
app/controllers/user_controller.rb
+++ b/
app/controllers/user_controller.rb
@@
-5,6
+5,8
@@
class UserController < ApplicationController
before_filter :authorize_web, :only => [:account, :go_public, :view, :diary, :make_friend]
before_filter :require_user, :only => [:set_home, :account, :go_public, :make_friend]
+ filter_parameter_logging :password, :pass_crypt, :pass_crypt_confirmation
+
def save
@title = 'create account'
@user = User.new(params[:user])