diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-10 12:46:08 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-15 20:45:42 +0100 |
commit | 64435e574e6a44d52fcedb62ddf8b2f884509bee (patch) | |
tree | 651181efd94be203993ba7038525f769b71a3334 /apps/twofactor_backupcodes/src | |
parent | 6014aaec88b45ee68941659f3bb9ab6608293eb6 (diff) | |
download | nextcloud-server-64435e574e6a44d52fcedb62ddf8b2f884509bee.tar.gz nextcloud-server-64435e574e6a44d52fcedb62ddf8b2f884509bee.zip |
Update the git attributes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/twofactor_backupcodes/src')
-rw-r--r-- | apps/twofactor_backupcodes/src/settings.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/src/settings.js b/apps/twofactor_backupcodes/src/settings.js index 00b28bfde63..ab24ed19a02 100644 --- a/apps/twofactor_backupcodes/src/settings.js +++ b/apps/twofactor_backupcodes/src/settings.js @@ -4,9 +4,9 @@ import store from './store'; Vue.prototype.t = t; -const initialStateElem = JSON.parse(atob(document.getElementById('twofactor-backupcodes-initial-state').value)); +const initialStateElem = document.getElementById('twofactor-backupcodes-initial-state'); store.replaceState( - initialStateElem + JSON.parse(atob(initialStateElem.value)) ) const View = Vue.extend(PersonalSettings) |