mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Email confirmation check
- filtering for confirmed emails - fixes to logger to expose logger controls - refactored graphql calls in other notification plugins
This commit is contained in:
+26
-1
@@ -62,7 +62,7 @@ type Token {
|
||||
jwt: String
|
||||
}
|
||||
|
||||
type UserProfile {
|
||||
interface UserProfile {
|
||||
# The id is an identifier for the user profile (email, facebook id, etc)
|
||||
id: String!
|
||||
|
||||
@@ -70,6 +70,31 @@ type UserProfile {
|
||||
provider: String!
|
||||
}
|
||||
|
||||
# DefaultUserProfile is a fallback if the type of UserProfile can't be
|
||||
# determined (like if it was from a plugin that was removed).
|
||||
type DefaultUserProfile implements UserProfile {
|
||||
# The id is an identifier for the user profile (email, facebook id, etc)
|
||||
id: String!
|
||||
|
||||
# name of the provider attached to the authentication mode
|
||||
provider: String!
|
||||
}
|
||||
|
||||
# LocalUserProfile is for a User who has an authentication profile linked to
|
||||
# their email address.
|
||||
type LocalUserProfile implements UserProfile {
|
||||
# id is the User's email address.
|
||||
id: String!
|
||||
|
||||
# name of the provider attached to the authentication mode, in this case,
|
||||
# 'local'.
|
||||
provider: String!
|
||||
|
||||
# confirmedAt is the Date that the user had their email address confirmed,
|
||||
# which is null if it has not been verified.
|
||||
confirmedAt: Date
|
||||
}
|
||||
|
||||
# USER_STATUS_USERNAME is the different states that a username can be in.
|
||||
enum USER_STATUS_USERNAME {
|
||||
# UNSET is used when the username can be changed, and does not necessarily
|
||||
|
||||
Reference in New Issue
Block a user