change time password outdated
This commit is contained in:
parent
70153a6e42
commit
bc7ebefe61
@ -6,6 +6,9 @@
|
||||
- ℹ️ - Information
|
||||
- ♻️ - Edited
|
||||
|
||||
## 0.2.3 - [09/04/2022]
|
||||
- ♻️ - Password outdated date change to 3 month
|
||||
|
||||
## 0.2.2 - [08/04/2022]
|
||||
- ➕ - Added check permissions for password file
|
||||
- ➕ - Added title by start program
|
||||
|
@ -1,2 +1,2 @@
|
||||
require "spec"
|
||||
require "../src/passw0rd_manager"
|
||||
require "../src/pmng"
|
||||
|
@ -136,7 +136,7 @@ while loop
|
||||
current_time = Time.local.to_unix
|
||||
a = [] of String
|
||||
passwords_array.each do |item|
|
||||
if item.update + (2629743 * 2) < current_time # 2629743 * 2 -- 2 month
|
||||
if item.update + (2629743 * 3) < current_time # 2629743 * 3 -- 3 month
|
||||
outdated_count += 1
|
||||
a << item.url
|
||||
end
|
||||
@ -158,7 +158,7 @@ while loop
|
||||
end
|
||||
|
||||
if !item.login.blank?
|
||||
# print "🏷️ " # Bug
|
||||
# print "\u{1F3F7}\u{FE0F} "
|
||||
print "🗿 "
|
||||
puts item.login.colorize(:yellow)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user