Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Unable to change email password form webmail interface #1373

Open
armaneth95 opened this issue Dec 2, 2024 · 0 comments
Open

[BUG] Unable to change email password form webmail interface #1373

armaneth95 opened this issue Dec 2, 2024 · 0 comments

Comments

@armaneth95
Copy link

armaneth95 commented Dec 2, 2024

Hello team Cyberpanel,

Description
Am a newbie to Cyberpanel and I've realized there was no option to change email password from the webmail interface. After some searches, I've installed the "Change Password" extension from SnappyMail admin interface. But unfortunately the password change form is not working.

Operating system: Ubuntu 22.04 LTS
CyberPanel version: 2.3

To Reproduce : https://simontech.dev/support/knowledge-base/servers/cyberpanel/snappymail-make-it-so-email-end-users-can-change-the-password

  1. Login to snappymail admin interface https://example.tld:8090/snappymail/?admin
  2. Click Extensions
  3. Find Change Password extension
  4. Click download icon
  5. Confirgure extension parameters as following under pdo section:
    • set DSN to : mysql:host=localhost;dbname=cyberpanel;charset=utf8
    • set User to : root
    • set Password to : mariadb root password (cat /etc/cyberpanel/mysqlPassword)
    • set Statement to : UPDATE e_users SET password = :newpass WHERE email = :email AND emailOwner_id = :domain
    • set Encryption to : bcrypt
    • set Encrypt prefix to : {CRYPT}
  6. Click Save
  7. Tick the box to enable the extension then logout from snappymail admin
  8. Login to an email account on https://example.tld:8090/snappymail/
  9. Click Parameters
  10. Click Password
  11. Type Current password, New one and confirm
  12. Click Save new password. At this point nothing happens. The button click make absolutely no effect. Have to hit it many times for the interface reload without any confirmation message
  13. Then u logout and try to login using the new password and u get an Authentication error

Expected behavior
The password should change effectively

Screenshots
Capture d’écran du 2024-12-02 19-38-44
Capture d’écran du 2024-12-02 19-38-56
Capture d’écran du 2024-12-02 19-41-05
Capture d’écran du 2024-12-02 13-02-32

**Browsers used **
Chrome Version 130.0.6723.69
Firefox 133.0
Opera version 115.0.5322.68

Additional context
I reproduced the same on Almalinux 8 using Cyberpanel v2.3 also and I got the same result following this tutorial https://community.cyberpanel.net/t/tutorial-how-to-allow-your-snappymail-users-to-change-their-mailbox-passwords/38084

Any guidance will be appreciated.

Best regards

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant