Issue #492 has been updated by Luiz Fernando Severnini.

Edit *config/config.inc.php*, below setting $pwd_show_policy add:

<pre>
# Which position show password policy
# above - the form
# below - the form
$pwd_show_policy_pos = "below";
</pre>

Edit file *pages/change.php*
Before *<form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'above') {
    show_policy(...);
}
?>
</pre>

After *</form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'below') {
    show_policy(...);
}
?>
</pre>



Edit file *pages/resetbyquestions.php*
Before *<form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'above') {
    show_policy(...);
}
?>
</pre>

After *</form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'below') {
    show_policy(...);
}
?>
</pre>


Edit file *pages/resetbytoken.php*
Before *<form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'above') {
    show_policy(...);
}
?>
</pre>

After *</form>* tag
<pre>
<?php
if ($pwd_show_policy_pos === 'below') {
    show_policy(...);
}
?>
</pre>



----------------------------------------
Feature #492: Add config to choose where show password policy
http://tools.lsc-project.org/issues/492

Author: Luiz Fernando Severnini
Status: New
Priority: Normal
Assigned to: 
Category: Self Service Password
Target version: self-service-password-0.8


When applicable, I think it should be good to choose where to show password 
policy, above or below the form


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to