Jump to content

How to block first and last name change from user portal


Richard SFTL
 Share

Recommended Posts

Am having issues with actual options.

Some customers access the web portal and change the name.

Then its pure chaos finding who he actually is.

 

In portal;

profile/account info

the first and last name fields are changeable from user.

 

On the pbx admin, we dont have the option to block those changes.

Any quick fix i could use before i get totally lost?

 

Link to comment
Share on other sites

Yes.

This is exactly what i tried.

Modified the file usr_code_settings.

 

Took out:

 

{ssi if show_section accinfo}
<td class="cText">{lng usr_core_settings.htm#first}</td>
<td><input type="text" id="first_name" value="{ssi varv first_name}" name="first_name" class="cText250" /></td>
</tr>
<tr>
<td class="cText">{lng usr_core_settings.htm#last}</td>
<td><input type="text" id="display_name" value="{ssi varv display_name}" name="display_name" class="cText250" /></td>
</tr>

 

But for whatever reason, change dont appear on the customer web portal.

Its not the first time i tackle with those and it allways worked before.

Migth try to reboot pbx when no load to see what it does.

Link to comment
Share on other sites

I dont think a reboot will make a difference. Maybe just good old F5 will do the trick.

 

If you want to change the user portal, you might need to change another template. Because of WebRTC topic, the page must not be changed which requires a different approach when "loading" a new page.

Link to comment
Share on other sites

Actually that action now happens in usr_index.js file. You can copy it from the chrome sources and drop in the html folder of the PBX working folder with the same exact name. Then any changes you make to it should show. Search for accinfo for your specific area that you want removed and much more.

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...