Commit 0ea91091 authored by talljosh's avatar talljosh
Browse files

Do not require that nick is unique for all users on the server.

parent c21fde8e7e20
......@@ -134,7 +134,7 @@ class TrosnothArena(models.Model):
class TrosnothUser(models.Model):
user = models.OneToOneField(
User, on_delete=models.CASCADE, primary_key=True)
nick = models.TextField(unique=True)
nick = models.TextField()
lastSeen = models.DateTimeField(null=True, blank=True)
oldPasswordHash = models.BinaryField(default=b'')
ownsElephant = models.BooleanField(default=False)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment