Skip to content
Browse files

Added note about automatic sign in with #save.

  • Loading branch information...
1 parent b60f4f5 commit d556d130ae5466fd46e6ec5b9002d1de3d57f0cc @rejeep committed Oct 12, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.markdown
View
3 README.markdown
@@ -92,6 +92,9 @@ With this contents:
@user.password = params[:password]
# Only if your are using password confirmation
# @user.password_confirmation = params[:password]
+
+ # Use @user.save_without_session_maintenance instead if you
+ # don't want the user to be signed in automatically.
if @user.save
flash[:success] = "Your password was successfully updated"
redirect_to @user

0 comments on commit d556d13

Please sign in to comment.
Something went wrong with that request. Please try again.