Browse Source

Merge branch 'pre_trustie_server' into trustie_server

pull/312/head
“xxq250” 3 years ago
parent
commit
0dbc0ed098
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/trace_user.rb

+ 1
- 1
app/models/trace_user.rb View File

@@ -32,7 +32,7 @@ class TraceUser < ApplicationRecord
self.username = user.login
self.password = SecureRandom.hex
self.unit = user.custom_department.blank? ? 'GitLink' : user.custom_department
self.telnumber = user.phone.blank? ? '13800000000' : user.phone
self.telnumber = user.phone
self.email = user.mail
self.name = user.nickname.blank? ? user.login : user.nickname



Loading…
Cancel
Save