Skip to content
Snippets Groups Projects
Verified Commit 3ef94fa3 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Nenutime byt v kraji

parent 71e30553
No related branches found
No related tags found
No related merge requests found
Pipeline #19938 passed
......@@ -2,7 +2,7 @@ image: docker:latest
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 0.21.1
IMAGE_VER: 0.21.2
services:
- docker:dind
......
......@@ -49,7 +49,7 @@ sub create ($c ) {
return $c->error(403, 'Invalid token') if ! $claims;
$group = $c->oauth_main_group;
return $c->error(403, 'Invalid token') if ! $group;
return $c->error(403, 'Invalid group') if ! $group;
$args->{name} = $claims->{name};
......
......@@ -8,7 +8,7 @@ use feature 'signatures';
no warnings qw{ experimental::signatures };
use constant KEY_FORMAT => "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----";
use constant REGIONS => qr{^(jhc|jhm|kvk|lbk|msk|olk|pak|pha|plk|stc|ulk|vys|zlk|khk):(f|regp)$};
use constant REGIONS => qr{^(cen|jhc|jhm|kvk|lbk|msk|olk|pak|pha|plk|stc|ulk|vys|zlk|khk):(f|regp)$};
sub register ( $class, $self, $conf) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment