mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Provide a facility for setting an override URL which will replace the Change Password UI, and the Forgotten Password UI with a clickable link.
This commit is contained in:
1 parent
45035ad488
commit
dd5bd9c282
3 files changed
+86
-5
No files matched your search
@@ -124,6 +124,24 @@ $c->admin_email ='calendar-admin@example.com';
|
||||
*/
|
||||
// $c->list_everyone = false;
|
||||
|
||||
/**
|
||||
* Provide a way of over-riding the default password change UI to render a
|
||||
* clickable link instead. Usually the UI provides a pair of text boxes to enter
|
||||
* a new password and confirm password. In some cases where remote authentication
|
||||
* is being used, the password change process is managed in a more complex way
|
||||
* and allowing it to be changed locally is not helpful. In this case the UI
|
||||
* is disabled and an HREF displayed to take the user to the appropriate place for
|
||||
* facilitating that.
|
||||
* As well as the Administration UI, this will also affect the Forgotten Password
|
||||
* UI since it would create a temporary local password. The login HTML rendered by
|
||||
* libawl-php is over-ridden and replaced by the same HREF as above.
|
||||
* Users with Administrator privileges will still see the default password change UI.
|
||||
* Default: unset
|
||||
*/
|
||||
// $c->password_change_override = array(
|
||||
// 'href' => 'https://my.password/changer',
|
||||
// 'label' => 'My Password Changer'
|
||||
// );
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
|
||||
Reference in new issue
Block a user