Fix tagline bug
This commit is contained in:
parent
b8a0e957bb
commit
7663cea2ea
@ -1,4 +1,3 @@
|
||||
- Tagline bug - cannot save with empty text
|
||||
- App setup wizard
|
||||
- SAML IAM handling
|
||||
- LDAP IAM handling
|
||||
|
@ -65,8 +65,7 @@ class ProfileController extends Controller {
|
||||
user.first_name = req.body.first_name
|
||||
user.last_name = req.body.last_name
|
||||
user.email = req.body.email
|
||||
if ( req.body.tagline ) user.tagline = req.body.tagline
|
||||
else delete user.tagline
|
||||
user.tagline = req.body.tagline
|
||||
|
||||
// Save the record
|
||||
await user.save()
|
||||
|
Loading…
Reference in New Issue
Block a user