cleanup
This commit is contained in:
parent
e80a5d9d6d
commit
d479863a63
|
@ -1,22 +0,0 @@
|
|||
name: 'deploy'
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cloning repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Get Repo Name
|
||||
id: repo_name
|
||||
run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})"
|
||||
|
||||
- name: Push to dokku
|
||||
uses: dokku/github-action@master
|
||||
with:
|
||||
branch: 'main'
|
||||
git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}'
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
15
.github/CONTRIBUTING.md
vendored
15
.github/CONTRIBUTING.md
vendored
|
@ -229,21 +229,6 @@ mutation Logout {
|
|||
}
|
||||
}
|
||||
|
||||
mutation CreateUser {
|
||||
_create_user(
|
||||
params: {
|
||||
email: "test@domain.com",
|
||||
password: "<bcrypt-hashed-password>",
|
||||
nickname: "test",
|
||||
}
|
||||
) {
|
||||
id
|
||||
email
|
||||
roles
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
mutation UpdateUser {
|
||||
_update_user(
|
||||
params: {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
This repo is with CI/CD Gitea needs and fetch.conf for fetch-daemon service
|
||||
|
||||
|
||||
<p align="center">
|
||||
<a href="https://authorizer.dev">
|
||||
<img alt="Logo" src="https://authorizer.dev/images/logo.png" width="60" />
|
||||
|
|
|
@ -113,13 +113,6 @@ const EditUserModal = ({
|
|||
status: 'success',
|
||||
position: 'top-right',
|
||||
});
|
||||
} else if (res.data?._create_user?.id) {
|
||||
toast({
|
||||
title: 'User created successfully',
|
||||
isClosable: true,
|
||||
status: 'success',
|
||||
position: 'top-right',
|
||||
});
|
||||
}
|
||||
onClose();
|
||||
updateUserList();
|
||||
|
|
|
@ -38,14 +38,6 @@ export const UpdateUser = `
|
|||
}
|
||||
`;
|
||||
|
||||
export const CreateUser = `
|
||||
mutation createUser($params: CreateUserInput!) {
|
||||
_create_user(params: $params) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const DeleteUser = `
|
||||
mutation deleteUser($params: DeleteUserInput!) {
|
||||
_delete_user(params: $params) {
|
||||
|
|
|
@ -189,13 +189,6 @@ export default function Users() {
|
|||
status: 'success',
|
||||
position: 'top-right',
|
||||
});
|
||||
} else if (res.data?._create_user?.id) {
|
||||
toast({
|
||||
title: 'User verification successful',
|
||||
isClosable: true,
|
||||
status: 'success',
|
||||
position: 'top-right',
|
||||
});
|
||||
}
|
||||
updateUserList();
|
||||
};
|
||||
|
@ -279,17 +272,6 @@ export default function Users() {
|
|||
});
|
||||
updateUserList();
|
||||
return;
|
||||
} else if (res.data?._create_user?.id) {
|
||||
toast({
|
||||
title: `Multi factor authentication ${
|
||||
user.is_multi_factor_auth_enabled ? 'disabled' : 'enabled'
|
||||
} for user`,
|
||||
isClosable: true,
|
||||
status: 'success',
|
||||
position: 'top-right',
|
||||
});
|
||||
updateUserList();
|
||||
return;
|
||||
}
|
||||
toast({
|
||||
title: 'Multi factor authentication update failed for user',
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
https://github.com/authorizerdev/authorizer
|
|
@ -1 +0,0 @@
|
|||
package graph
|
|
@ -1 +0,0 @@
|
|||
package model
|
Loading…
Reference in New Issue
Block a user