From: Michael Tremer Date: Wed, 5 Oct 2022 16:10:40 +0000 (+0000) Subject: users: Drop passphrase attribute from database X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d10328b37ef90592ae0c11aee1882e44c5039b2;p=pbs.git users: Drop passphrase attribute from database Signed-off-by: Michael Tremer --- diff --git a/src/database.sql b/src/database.sql index 3ffce8cb..ef2b2193 100644 --- a/src/database.sql +++ b/src/database.sql @@ -1342,7 +1342,6 @@ CREATE TABLE public.users ( id integer NOT NULL, name text NOT NULL, realname text, - passphrase text, locale text, timezone text, activated boolean DEFAULT false NOT NULL, diff --git a/src/web/users.py b/src/web/users.py index ca3f9a23..9da1340f 100644 --- a/src/web/users.py +++ b/src/web/users.py @@ -77,8 +77,6 @@ class UserEditHandler(base.BaseHandler): user.locale = locale user.set_primary_email(email) user.realname = realname - if pass1: - user.passphrase = pass1 # Get the timezone settings. tz = self.get_argument("timezone", None)