API 1.0.34+2 registration with email fix

This commit is contained in:
Bossanyi Tibor
2021-04-28 15:20:59 +02:00
parent 03b3766459
commit c1e5cde43f
2 changed files with 3 additions and 2 deletions
@@ -144,7 +144,7 @@ class CustomerController ( private val customerRepository: CustomerRepository) {
dateAdd = nowFormatted
firstname = ""
name = ""
email = ""
email = newUser.username
}
val returnCustomer: Customer? = customerRepository.findByEmail(newUser.username).let {