File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,31 +16,31 @@ def create_cracked_credential(opts={})
16
16
if active_db?
17
17
super ( opts )
18
18
else
19
- print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
19
+ vprint_warning ( 'No active DB -- Credential data will not be saved!' )
20
20
end
21
21
end
22
22
23
23
def create_credential ( opts = { } )
24
24
if active_db?
25
25
super ( opts )
26
26
else
27
- print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
27
+ vprint_warning ( 'No active DB -- Credential data will not be saved!' )
28
28
end
29
29
end
30
30
31
31
def create_credential_login ( opts = { } )
32
32
if active_db?
33
33
super ( opts )
34
34
else
35
- print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
35
+ vprint_warning ( 'No active DB -- Credential data will not be saved!' )
36
36
end
37
37
end
38
38
39
39
def invalidate_login ( opts = { } )
40
40
if active_db?
41
41
super ( opts )
42
42
else
43
- print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
43
+ vprint_warning ( 'No active DB -- Credential data will not be saved!' )
44
44
end
45
45
end
46
46
You can’t perform that action at this time.
0 commit comments