From 00f224ebf7f09758d12028dd8bc738233f01a0b1 Mon Sep 17 00:00:00 2001 From: richard beer <richard.beer@uk-halle.de> Date: Fri, 17 May 2024 10:11:23 +0200 Subject: [PATCH] change the password settings in download_get_key.R --- .gitignore | 2 ++ download_get_key.R | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7c12220..4098dfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +username.txt +password.txt *.xlsx diff --git a/download_get_key.R b/download_get_key.R index d1a8677..aa4cbda 100644 --- a/download_get_key.R +++ b/download_get_key.R @@ -10,15 +10,15 @@ if (!require("cloudyr/limer")) { library("limer") } -# !ACHTUNG: PASSWORT UND USERNAME MÜSSEN NOCH BEHANDELT WERDEN! -# SICHERHEITSRISIKO BEI FEST EINKODIERTEN WERTEN +#Der verwendete Benutzer hat auf die einzelnen Umfragen ausschließlich nachfolgende Rechte: Anzeigen +username <- readLines("P:/IMEBI/DigiHero_Teilnehmerdaten/Massenmails/tokenaufbereiter/username.txt") -#Der Benutzer R_Export hat auf einzelnen Umfragen ausschließlich Rechte: Anzeigen +password <- readLines("P:/IMEBI/DigiHero_Teilnehmerdaten/Massenmails/tokenaufbereiter/password.txt") #change the next options (website, user, password) options(lime_api = 'https://webszh.uk-halle.de/limesurvey/index.php/admin/remotecontrol') -options(lime_username = 'R_Export') -options(lime_password ='Export2023') +options(lime_username = username) +options(lime_password = password) # first get a session access key get_session_key() -- GitLab