Skip to content
Snippets Groups Projects
Commit f2af30f1 authored by Douwe Maan's avatar Douwe Maan
Browse files

Skip email confirmation when set by admin or via LDAP.

parent 45ca39e8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -62,6 +62,7 @@ v 7.10.0 (unreleased)
- Project labels are now available over the API under the "tag_list" field (Cristian Medina)
- Fixed link paths for HTTP and SSH on the admin project view (Jeremy Maziarz)
- Fix and improve help rendering (Sullivan Sénéchal)
- Skip email confirmation when set by admin or via LDAP.
 
 
v 7.9.2
Loading
Loading
Loading
Loading
@@ -72,8 +72,8 @@ class Admin::UsersController < Admin::ApplicationController
end
 
respond_to do |format|
user.skip_reconfirmation!
if user.update_attributes(user_params_with_pass)
user.confirm!
format.html { redirect_to [:admin, user], notice: 'User was successfully updated.' }
format.json { head :ok }
else
Loading
Loading
Loading
Loading
@@ -39,6 +39,7 @@ module Gitlab
end
 
def update_user_attributes
gl_user.skip_reconfirmation!
gl_user.email = auth_hash.email
 
# Build new identity only if we dont have have same one
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment