File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -718,6 +718,7 @@ svg {
718718 text-align : right ;
719719 margin : 5px ;
720720 margin-bottom : 20px ;
721+ font-size : 12px ;
721722 }
722723
723724 .no-insight {
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ export default Vue.extend({
3636 return this .$store .state .menu .enforcePassword ;
3737 },
3838 passwordPolicy : function () {
39+ if (! this .$store .state .menu .passwordPolicy ) {
40+ return null ;
41+ }
42+
3943 try {
4044 return new RegExp (this .$store .state .menu .passwordPolicy );
4145 } catch {
@@ -64,6 +68,7 @@ export default Vue.extend({
6468 }
6569
6670 if (this .passwordPolicy && ! this .passwordPolicy .test (this .phrase )) {
71+ console .log (this .passwordPolicy );
6772 const hint =
6873 this .passwordPolicyHint || this .i18n .password_policy_default_hint ;
6974 this .$store .commit (" notification/alert" , hint );
You can’t perform that action at this time.
0 commit comments