-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to send access request messages via Discord #11
Conversation
Ideally I'd still like to wait for the logo asset before merge, but it's not a blocker and that can easily be its own commit anyway. |
Username string `json:"username"` | ||
ID uint64 `json:"id"` | ||
Username string `json:"username"` | ||
AvatarHash string `json:"avatar"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine for now. I suggest putting user information in the SQLite database long term, so the JWT doesn't grow without bounds.
return | ||
} | ||
|
||
// TODO query ACL to ensure user account exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this TODO comment ... If the username doesn't exist in the UserManager, we can just add them before authorizing.
Thank you for the contribution @vabold 🎉 |
No description provided.