Skip to content

Commit

Permalink
Fix conflict in new_user_dialog and password_force_new_user settings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jun 12, 2016
1 parent 25b651e commit 62f79fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CHANGELOG Roundcube Webmail
- Fix so upgrade script makes sure program/lib directory does not contain old libraries (#5287)
- Fix subscription checkbox state on error in folder subscribe/unsubscribe action (#5243)
- Fix bug where microsecond format in logged date didn't work in some cases
- Fix conflict in new_user_dialog and password_force_new_user settings (#5275)

RELEASE 1.2.0
-------------
Expand Down
5 changes: 3 additions & 2 deletions plugins/new_user_dialog/new_user_dialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
*/
class new_user_dialog extends rcube_plugin
{
public $task = 'login|mail';
public $task = '';
public $noframe = true;


function init()
{
$this->add_hook('identity_create', array($this, 'create_identity'));
Expand Down Expand Up @@ -45,7 +46,7 @@ function create_identity($p)
*/
function render_page($p)
{
if ($_SESSION['plugin.newuserdialog'] && $p['template'] == 'mail') {
if ($_SESSION['plugin.newuserdialog']) {
$this->add_texts('localization');

$rcmail = rcmail::get_instance();
Expand Down

0 comments on commit 62f79fc

Please sign in to comment.