From 451a6d0cd80eb2fb0ee098f63f2074a1ccde6e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Mon, 27 Jan 2025 18:26:03 +0100 Subject: [PATCH] Placeholder pro prazdny kraj --- .gitlab-ci.yml | 2 +- lib/CF2022/Helpers/Auth.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 823484a..4956859 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: docker:latest variables: DOCKER_TLS_CERTDIR: "/certs" - IMAGE_VER: 0.22.0 + IMAGE_VER: 0.22.1 services: - docker:dind diff --git a/lib/CF2022/Helpers/Auth.pm b/lib/CF2022/Helpers/Auth.pm index 28fee8b..a1b1f4a 100644 --- a/lib/CF2022/Helpers/Auth.pm +++ b/lib/CF2022/Helpers/Auth.pm @@ -79,7 +79,7 @@ sub register ( $class, $self, $conf) { $self->helper( oauth_main_group => sub ( $c ) { my $claims = $c->oauth_claims // return; my $default = { - region => '', + region => '-', role => 'guest', }; -- GitLab