[sagenb] 04/179: forgot 2 lines in user.py
felix salfelder
felix-guest at moszumanska.debian.org
Tue May 6 12:05:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository sagenb.
commit 162b767998d3e25d82409fa1bc2553cfd5bc08d2
Author: Robin Martinjak <rob at rmartinjak.de>
Date: Wed Jun 20 17:07:12 2012 +0200
forgot 2 lines in user.py
---
sagenb/notebook/user.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sagenb/notebook/user.py b/sagenb/notebook/user.py
index d2fc6b1..6cc2fb9 100644
--- a/sagenb/notebook/user.py
+++ b/sagenb/notebook/user.py
@@ -27,7 +27,7 @@ def generate_salt():
class User(object):
- def __init__(self, username, password='', email='', account_type='admin'):
+ def __init__(self, username, password='', email='', account_type='admin', external_auth=None):
self._username = username
self.set_password(password)
self._email = email
@@ -35,6 +35,7 @@ class User(object):
if not account_type in ['admin', 'user', 'guest']:
raise ValueError("account type must be one of admin, user, or guest")
self._account_type = account_type
+ self._external_auth = external_auth
self._conf = user_conf.UserConfiguration()
self._temporary_password = ''
self._is_suspended = False
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git
More information about the debian-science-commits
mailing list