add a hint that the admin can recover your files; Don't let the user change the recovery settings if no private key is set
This commit is contained in:
parent
58fd76607b
commit
7fc5151d95
|
@ -7,9 +7,15 @@
|
||||||
<?php if ( ! $_["privateKeySet"] ): ?>
|
<?php if ( ! $_["privateKeySet"] ): ?>
|
||||||
<p>
|
<p>
|
||||||
<a name="changePKPasswd" />
|
<a name="changePKPasswd" />
|
||||||
<label for="changePrivateKeyPasswd"><?php p( $l->t( "Your private key password no longer match your log-in password:" ) ); ?></label>
|
<label for="changePrivateKeyPasswd">
|
||||||
|
<?php p( $l->t( "Your private key password no longer match your log-in password:" ) ); ?>
|
||||||
|
</label>
|
||||||
<br />
|
<br />
|
||||||
<em><?php p( $l->t( "Set your old private key password to your current log-in password." ) ); ?></em>
|
<em><?php p( $l->t( "Set your old private key password to your current log-in password." ) ); ?>
|
||||||
|
<?php if ( $_["recoveryEnabledForUser"] ):
|
||||||
|
p( $l->t( " If you don't remember your old password you can ask your administrator to recover your files." ) );
|
||||||
|
endif; ?>
|
||||||
|
</em>
|
||||||
<br />
|
<br />
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
|
@ -34,7 +40,7 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<?php if ( $_["recoveryEnabled"] ): ?>
|
<?php if ( $_["recoveryEnabled"] && $_["privateKeySet"] ): ?>
|
||||||
<p>
|
<p>
|
||||||
<label for="userEnableRecovery"><?php p( $l->t( "Enable password recovery:" ) ); ?></label>
|
<label for="userEnableRecovery"><?php p( $l->t( "Enable password recovery:" ) ); ?></label>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in New Issue