Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
(feat): Minecraft Username to XBox GamerTag
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboMetalurgico committed Apr 7, 2022
1 parent b193451 commit c4d925b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spongeauth/accounts/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ProfileFieldsMixin(forms.Form):
label=_("Full Name"), max_length=255, required=False, help_text=_("Enter your full name here")
)
mc_username = forms.CharField(
label=_("XBox GameTag"),
label=_("XBox GamerTag"),
max_length=255,
required=False,
help_text=_("Enter the username you use for Minecraft here"),
Expand Down
2 changes: 1 addition & 1 deletion spongeauth/accounts/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Migration(migrations.Migration):
("is_admin", models.BooleanField(default=False)),
(
"mc_username",
models.CharField(blank=True, max_length=255, null=True, verbose_name="Minecraft Username"),
models.CharField(blank=True, max_length=255, null=True, verbose_name="XBox GamerTag"),
),
("irc_nick", models.CharField(blank=True, max_length=255, null=True, verbose_name="IRC Nick")),
(
Expand Down
2 changes: 1 addition & 1 deletion spongeauth/accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class User(AbstractBaseUser):
is_admin = models.BooleanField(default=False, null=False)

full_name = models.CharField(max_length=255, blank=True, null=True, verbose_name=_("Full Name"))
mc_username = models.CharField(max_length=255, blank=True, null=True, verbose_name=_("Minecraft Username"))
mc_username = models.CharField(max_length=255, blank=True, null=True, verbose_name=_("XBox GamerTag"))
irc_nick = models.CharField(max_length=255, blank=True, null=True, verbose_name=_("IRC Nick"))
gh_username = models.CharField(max_length=255, blank=True, null=True, verbose_name=_("GitHub Username"))
discord_tag = models.CharField(
Expand Down

0 comments on commit c4d925b

Please sign in to comment.