Ticket #2263 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Passwordchanger Gui

Reported by: Knut Owned by:
Priority: normal Milestone: ispCP ω 1.2.0
Component: Frontend (GUI) Version: ispCP ω trunk
Severity: Medium Keywords: password changer gui
Cc:

Description

Nice to have : Passwordchanger for Mailpassword, FTP- and SQL-Passwords

Take a look at :  http://www.isp-control.net/forum/thread-9776-post-76189.html#pid76189

Change History

comment:1 Changed 2 years ago by nuxwin

  • Severity changed from Don't know to Medium
  • Milestone changed from Working to ispCP ω 1.1.0

comment:2 Changed 2 years ago by dolomike

In order for the retry timer to work with this tool (and potentially other pages), the function:

shall_user_wait()

in gui/include/login-functions.php needs to be changed.

Instead of hard-coding $backButtonDestination, it should be another parameter of shall_user_wait() with the default as Config::get('BASE_SERVER_VHOST_PREFIX') . Config::get('BASE_SERVER_VHOST')

For example:

function shall_user_wait($ipaddr = null, $displayMessage = true, $backButtonDestination =  Config::get('BASE_SERVER_VHOST_PREFIX') . Config::get('BASE_SERVER_VHOST'))

shall_user_wait() is only used in gui/index.php so it only need to be updated in one file.

The retry link would then in this case be able to point back to the password change page instead of the hard-coded index.php

Note: See TracTickets for help on using tickets.