Fix tagline bug

This commit is contained in:
garrettmills 2020-05-19 09:09:58 -05:00
parent b8a0e957bb
commit 7663cea2ea
No known key found for this signature in database
GPG Key ID: 6ACD58D6ADACFC6E
2 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
- Tagline bug - cannot save with empty text
- App setup wizard
- SAML IAM handling
- LDAP IAM handling

View File

@ -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()