feat: Authenticate by SSO tokens (#1439)

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-11-25 13:59:38 +05:30
committed by GitHub
parent cb2a528be6
commit a988724c91
10 changed files with 147 additions and 8 deletions

View File

@@ -67,7 +67,8 @@ class AccountBuilder
end
def create_user
password = Time.now.to_i
password = SecureRandom.alphanumeric(12)
@user = User.new(email: @email,
password: password,
password_confirmation: password,