Merge branch 'dev_military' of https://git.trustie.net/jasder/forgeplus into dev_military
This commit is contained in:
commit
622dcbaf4f
|
@ -12,6 +12,8 @@ module RegisterHelper
|
||||||
user.platform = platform
|
user.platform = platform
|
||||||
user.activate
|
user.activate
|
||||||
|
|
||||||
|
return unless user.valid?
|
||||||
|
|
||||||
interactor = Gitea::RegisterInteractor.call({username: username, email: email, password: password})
|
interactor = Gitea::RegisterInteractor.call({username: username, email: email, password: password})
|
||||||
if interactor.success?
|
if interactor.success?
|
||||||
gitea_user = interactor.result
|
gitea_user = interactor.result
|
||||||
|
|
Loading…
Reference in New Issue