diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-06-19 10:21:38 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-06-19 10:21:38 +0300 |
commit | cdc3c010bce2be923bfb3248ea88db10eaf52606 (patch) | |
tree | 1a1a89deb23133c42e345b49f101f78819faf936 /js | |
parent | 356aae80df77248b39efc2f4b43dd00f2c70c044 (diff) |
Rename the app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'js')
-rw-r--r-- | js/service/registration.js | 8 | ||||
-rw-r--r-- | js/view/l10n.vue | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/js/service/registration.js b/js/service/registration.js index dddfc26..fb741fb 100644 --- a/js/service/registration.js +++ b/js/service/registration.js @@ -2,7 +2,7 @@ import $ from 'jquery'; import { nc_fetch_json } from 'nextcloud_fetch'; export function getState() { - let url = OC.generateUrl('/apps/twofactor_sms/settings/verification') + let url = OC.generateUrl('/apps/twofactor_gateway/settings/verification') return nc_fetch_json(url).then(function (resp) { if (resp.ok) { @@ -13,7 +13,7 @@ export function getState() { } export function startVerification() { - let url = OC.generateUrl('/apps/twofactor_sms/settings/verification/start') + let url = OC.generateUrl('/apps/twofactor_gateway/settings/verification/start') return nc_fetch_json(url, { method: 'POST' @@ -26,7 +26,7 @@ export function startVerification() { } export function tryVerification(code) { - let url = OC.generateUrl('/apps/twofactor_sms/settings/verification/finish') + let url = OC.generateUrl('/apps/twofactor_gateway/settings/verification/finish') return nc_fetch_json(url, { method: 'POST', @@ -42,7 +42,7 @@ export function tryVerification(code) { } export function disable() { - let url = OC.generateUrl('/apps/twofactor_sms/settings/verification') + let url = OC.generateUrl('/apps/twofactor_gateway/settings/verification') return nc_fetch_json(url, { method: 'DELETE' diff --git a/js/view/l10n.vue b/js/view/l10n.vue index 16b39a1..03e32e0 100644 --- a/js/view/l10n.vue +++ b/js/view/l10n.vue @@ -6,7 +6,7 @@ export default { computed: { translated: function() { - return t("twofactor_sms", this.text, this.options || {}); + return t("twofactor_gateway", this.text, this.options || {}); } }, props: ["text", "options"] |