Merge branch 'master' into openstreetbugs
This commit is contained in:
commit
0caaf54de5
6 changed files with 90 additions and 8 deletions
|
@ -129,7 +129,7 @@ class UserController < ApplicationController
|
|||
if params[:user]
|
||||
@user.pass_crypt = params[:user][:pass_crypt]
|
||||
@user.pass_crypt_confirmation = params[:user][:pass_crypt_confirmation]
|
||||
@user.status = "active"
|
||||
@user.status = "active" if @user.status == "pending"
|
||||
@user.email_valid = true
|
||||
|
||||
if @user.save
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue