Author Topic: Virtualmin roundcube password Drivers not work with error  (Read 3649 times)

Offline chris31520

  • Newbie
  • *
  • Posts: 1
Virtualmin roundcube password Drivers not work with error
« on: February 22, 2021, 09:26:04 AM »
Hello,

I use identifiers in the form username@domain
when I validate the password change I get the following error:
Quote
No user named "username-domain-with-dash.fr" was found in the server "domain-with-dash.fr"
The problem is that if I integrate a code of this type:
Quote
$username = escapeshellcmd(str_replace('-'.$domain, '@'.$domain, $username));
my error becomes:
Quote
No user named "username@domain@avec@tiret.fr" was found in the server "domain-with-username.fr"
I’m using the latest online version of the virtualmin drivers and Roundcube version: 1.4.11
could you try to help me?
I will be grateful to you !