We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736c2ad commit b77fbb4Copy full SHA for b77fbb4
composer.json
@@ -35,9 +35,10 @@
35
},
36
"extra": {
37
"expose": [
38
- "client/dist"
+ "client/dist",
39
+ "client/lang"
40
]
41
42
"minimum-stability": "dev",
43
"prefer-stable": true
-}
44
+}
src/Method.php
@@ -57,6 +57,7 @@ public function getThumbnail(): string
57
58
public function applyRequirements(): void
59
{
60
+ Requirements::add_i18n_javascript('silverstripe/totp-authenticator: client/lang');
61
Requirements::javascript('silverstripe/totp-authenticator: client/dist/js/bundle.js');
62
Requirements::css('silverstripe/totp-authenticator: client/dist/styles/bundle.css');
63
}
0 commit comments