Disable demo user in script launch template AWS

Max

Administrator
Staff member
Good day.
Please add the following strings to setup script before WCS startup
Bash:
...

USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml

if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then
sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG
fi

# Start WCS after reconfiguring
...
We also added example to the script in documentation.
 
Last edited:

mikerugerio

New Member
Good day.
Please add the following strings to setup script before WCS startup
Bash:
...

USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml

if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then
sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG
fi

# Start WCS after reconfiguring
...
We also added example to the script in documentation.
Thanks a lot
:)
 

mikerugerio

New Member
Good day.
Please add the following strings to setup script before WCS startup
Bash:
...

USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml

if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then
sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG
fi

# Start WCS after reconfiguring
...
We also added example to the script in documentation.
I removed demo user and I am tring to embed player in iframe but it redirecting to Login screen, then I disabled WCS web admin inteface in flashphoner.properties :
http_enable_paths=rest,action,shared,embed_player,empty

But it responding with:
404 The page you are looking for was not found.

Thanks for your help.
 

Max

Administrator
Staff member
I removed demo user and I am tring to embed player in iframe but it redirecting to Login screen, then I disabled WCS web admin inteface in flashphoner.properties :
http_enable_paths=rest,action,shared,embed_player,empty
Yes, you should enable demo user for Embed Player to work. So, to use Embed Player, do the following
1. Enable demo user, if you've disabled it according to this recommendations
2. Disable web admin interface
Code:
http_enable_paths=rest,action,shared,embed_player,empty
 
Top