En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Commit 924bc517 authored by Dorchies David's avatar Dorchies David
Browse files

Merge branch '6-change-openssl_conf-configuration-only-temporally' into 'master'

Resolve "Change OPENSSL_CONF configuration only temporally"

Closes #6

See merge request !4
parents 0fdb39a1 44fe24a1
......@@ -13,8 +13,10 @@
#' login("pnom", "myPassword")
#' }
login <- function(username,
password,
cfg = config::get(file = system.file("config.yml", package = "hatata"))) {
password,
cfg = config::get(file = system.file("config.yml", package = "hatata"))) {
openssl_conf = Sys.getenv("OPENSSL_CONF")
on.exit(Sys.setenv(OPENSSL_CONF = openssl_conf))
Sys.setenv(OPENSSL_CONF = system.file("openssl.cnf", package = "hatata"))
Sys.setlocale('LC_ALL','C')
rs <- rvest::session(cfg$url_temps_activites)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment