web stats
Using CLI to Add Users But Skip Registration - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2019, 08:35 AM
regis.hess regis.hess is offline
OBX.1 Kenobi
 
Join Date: Jun 2014
Posts: 48
regis.hess is on a distinguished road
Default Using CLI to Add Users But Skip Registration

Hi, I am adding user accounts to Mirth instances using the CLI "user add" feature. That works fine.

My question is this: How can the "Welcome to Mirth Connect" prompt be skipped the first time the user logs in? I'm using a script to prompt the user to enter the required details, including their password, and then I'm deploying this across 104 instances of Mirth. It's not efficient for a user to have to constantly deal with this page every time they touch a new instance, nor is there a need for them to change their password.
Reply With Quote
  #2  
Old 08-30-2019, 08:59 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

There is a "firstLogin" setting in the person_preference table that you can update to false.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 08-30-2019, 09:07 AM
regis.hess regis.hess is offline
OBX.1 Kenobi
 
Join Date: Jun 2014
Posts: 48
regis.hess is on a distinguished road
Default

Quote:
Originally Posted by narupley View Post
There is a "firstLogin" setting in the person_preference table that you can update to false.
Yikes! So there's no way I can do that through the CLI? Just as inefficient to touch all 104 DBs as it is to just make each user constantly have to deal w/ the welcome page.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation