From a5b17cf52ccfc1db70b1b906026111b1594f7c08 Mon Sep 17 00:00:00 2001 From: Peter Conerly Date: Wed, 1 Jun 2022 01:27:11 -0700 Subject: [PATCH] fix createsuperuser and typo --- siwe_auth/backend.py | 2 +- siwe_auth/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/siwe_auth/backend.py b/siwe_auth/backend.py index 1a76968..8089a1b 100644 --- a/siwe_auth/backend.py +++ b/siwe_auth/backend.py @@ -40,7 +40,7 @@ def _nonce_is_valid(nonce: str) -> bool: class SiweBackend(BaseBackend): """ - Authenticate an Ethereum address as per Sing-In with Ethereum (EIP-4361). + Authenticate an Ethereum address as per Sign-In with Ethereum (EIP-4361). """ def authenticate(self, request, signature: str = None, siwe_message: SiweMessage = None): diff --git a/siwe_auth/models.py b/siwe_auth/models.py index 199b782..c7b3c93 100644 --- a/siwe_auth/models.py +++ b/siwe_auth/models.py @@ -30,7 +30,7 @@ def create_user(self, ethereum_address: str): wallet.save(using=self._db) return wallet - def create_superuser(self, ethereum_address: str): + def create_superuser(self, ethereum_address: str, password: str): """ Creates and saves a superuser with the given ethereum address. """