summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-04 12:17:09 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-05 19:06:00 +0200
commit81613d22469bc20faad4ec342832f53f541cb469 (patch)
treee9856161a4daa6bbecd843666a50399b5f568e88 /core/src
parent8c023eeabdb3874470e5db1a756ed1b62ea3ecf9 (diff)
downloadnextcloud-server-81613d22469bc20faad4ec342832f53f541cb469.tar.gz
nextcloud-server-81613d22469bc20faad4ec342832f53f541cb469.zip
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/login/ResetPassword.vue2
-rw-r--r--core/src/components/login/UpdatePassword.vue2
-rw-r--r--core/src/maintenance.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue
index 0fd50e43ea9..829320eec85 100644
--- a/core/src/components/login/ResetPassword.vue
+++ b/core/src/components/login/ResetPassword.vue
@@ -73,7 +73,7 @@
</template>
<script>
-import axios from 'nextcloud-axios'
+import axios from '@nextcloud/axios'
import { generateUrl } from '../../OC/routing'
diff --git a/core/src/components/login/UpdatePassword.vue b/core/src/components/login/UpdatePassword.vue
index c0976bf0d6f..0da2221c4c0 100644
--- a/core/src/components/login/UpdatePassword.vue
+++ b/core/src/components/login/UpdatePassword.vue
@@ -67,7 +67,7 @@
</template>
<script>
-import Axios from 'nextcloud-axios'
+import Axios from '@nextcloud/axios'
export default {
name: 'UpdatePassword',
diff --git a/core/src/maintenance.js b/core/src/maintenance.js
index 14451b59fd0..70b51f7cebc 100644
--- a/core/src/maintenance.js
+++ b/core/src/maintenance.js
@@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import Axios from 'nextcloud-axios'
+import Axios from '@nextcloud/axios'
import OC from './OC/index'