mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-02 03:24:27 +00:00
Increase password reminder period to 30 days
This commit is contained in:
parent
e41f200bcd
commit
1a24f62074
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class Preferences {
|
|||
public boolean isPasswordReminderNeeded() {
|
||||
long diff = new Date().getTime() - getPasswordReminderTimestamp().getTime();
|
||||
long days = TimeUnit.DAYS.convert(diff, TimeUnit.MILLISECONDS);
|
||||
return isPasswordReminderEnabled() && days >= 7;
|
||||
return isPasswordReminderEnabled() && days >= 30;
|
||||
}
|
||||
|
||||
public Date getPasswordReminderTimestamp() {
|
||||
|
|
Loading…
Add table
Reference in a new issue