Skip to content

Conversation

@AbdBarho
Copy link
Collaborator

@AbdBarho AbdBarho commented Feb 5, 2023

Create user if it does not exist

Refs #1204
Refs #1117

our BackendUserCore only contains the bare minimum, so it won't override any of the other properties.

export interface BackendUserCore {
/**
* The user's unique ID according to the `auth_method`.
*/
id: string;
/**
* The user's set name
*/
display_name: string;
/**
* The authorization method. One of:
* - discord
* - local
*/
auth_method: string;
}

@AbdBarho AbdBarho marked this pull request as ready for review February 5, 2023 20:45
Copy link
Collaborator

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm will fix the tos prob.

@andreaskoepf andreaskoepf merged commit 9467b21 into main Feb 5, 2023
@andreaskoepf andreaskoepf deleted the tos_endpoint branch February 5, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants