This commit is contained in:
2023-09-15 14:57:42 +02:00
committed by Clément Le Bihan
parent 91c9e2b295
commit bc13c10f1a
6 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -10,5 +10,6 @@ SCORO_URL=ws://localhost:6543
GOOGLE_CLIENT_ID=toto
GOOGLE_SECRET=tata
GOOGLE_CALLBACK_URL=http://localhost:19006/logged/google
SMTP_TRANSPORT=toto
SMTP_TRANSPORT=smtps://toto:tata@relay
MAIL_AUTHOR='"Chromacase" <chromacase@octohub.app>'
IGNORE_MAILS=true
+1 -1
View File
@@ -93,7 +93,7 @@ jobs:
run: |
docker-compose ps -a
docker-compose logs
wget --retry-connrefused http://localhost:3000 # /healthcheck
wget --retry-connrefused http://localhost:3000 || (docker-compose logs && exit 1)
- name: Run scorometer tests
run: |
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/env python3
#!/usr/bin/env python3
import sys
import os
+1
View File
@@ -36,6 +36,7 @@ export class AuthService {
}
async sendVerifyMail(user: User) {
if (process.env.IGNORE_MAILS === "true") return;
const token = await this.jwtService.signAsync(
{
userId: user.id,
+1
View File
@@ -17,6 +17,7 @@
"rules": {
"react/react-in-jsx-scope": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-function": "off",
"no-restricted-imports": [
+1
View File
@@ -13,6 +13,7 @@ const VerifiedView = () => {
async function run() {
try {
await API.fetch({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
route: `/auth/verify?token=${(route.params as any).token}`,
method: 'PUT',
});