Skip to content
Snippets Groups Projects
Commit 543d3d30 authored by ziggy's avatar ziggy
Browse files

add optional test url

parent db286900
Branches
No related tags found
No related merge requests found
Pipeline #207857 passed
......@@ -12,3 +12,7 @@
.col
%b Suggestion:
%span= @zxcvbn_suggestion
- if AuthenticatedApp.config.password_test_url.present?
.row
.col
%p= link_to('Click here', AuthenticatedApp.config.password_test_url) + tag.span(' to test out your password.')
......@@ -49,6 +49,9 @@ module AuthenticatedApp
attr_accessor :forbidden_regexps # used internally
# If provided, this link is listed on the password tips page
attr_accessor :password_test_url
def initialize
@mode = :default
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment