Trying to reduce the complexity of WpUser#brute_force
This commit is contained in:
@@ -21,6 +21,11 @@ class WpUser < WpItem
|
||||
end
|
||||
end
|
||||
|
||||
# @return [ String ]
|
||||
def login_url
|
||||
@uri.merge('wp-login.php').to_s
|
||||
end
|
||||
|
||||
# @return [ String ]
|
||||
def to_s
|
||||
s = "#{id}"
|
||||
|
||||
Reference in New Issue
Block a user