Fix tagline bug

feature/cd
garrettmills 4 years ago
parent b8a0e957bb
commit 7663cea2ea
No known key found for this signature in database
GPG Key ID: 6ACD58D6ADACFC6E

@ -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…
Cancel
Save