I fixed changing the file gitlab/lib/gitlab/oauth/user.rb, modifying the line "user.confirmation!" to "user.skip_confirmation!". With this the users doesn't get the e-mail confirmation when loggin in with any omniauth authentication method.
Em quinta-feira, 28 de novembro de 2013 08h08min37s UTC-2, Jonas Friedmann escreveu: > > Hello Michal, > > did you found a solution for this? > > Thank you, > Jonas > > Am Dienstag, 19. November 2013 11:48:15 UTC+1 schrieb Michal Kucera: >> >> Hi, >> after login via LDAP. gitlab sending cormitaion email to me, where on >> opened url i get: >> >> >> ============================== >> Resend confirmation instructions >> 1 error prohibited this user from being saved: >> >> - Confirmation token is invalid >> >> >> ============================== >> >> >> >> i thing, when LDAP user don't must self confirmating. >> >> thanx >> MiK >> > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.